Class: Vk::API::Audio::Methods::Add
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Audio::Methods::Add
- Defined in:
- lib/vk/api/audio/methods/add.rb
Overview
Copies an audio file to a user page or community page.
Arguments collapse
-
#album_id ⇒ Integer
Album ID.
-
#audio_id ⇒ Integer
Audio file ID.
-
#group_id ⇒ Integer
Community ID, needed when adding the audio file to a community (without minus).
-
#owner_id ⇒ Integer
ID of the user or community that owns the audio file.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Audio::Methods::Add constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#album_id ⇒ Integer
Returns Album ID.
32 |
# File 'lib/vk/api/audio/methods/add.rb', line 32 attribute :album_id, API::Types::Coercible::Int.optional.default(nil) |
#audio_id ⇒ Integer
Returns Audio file ID.
26 |
# File 'lib/vk/api/audio/methods/add.rb', line 26 attribute :audio_id, API::Types::Coercible::Int |