Class: Vk::API::Audio::Methods::MoveToAlbum

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/audio/methods/move_to_album.rb

Overview

Moves audio files to an album.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Audio::Methods::MoveToAlbum

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID of the community where the audio files are located. By default, current user ID.;

  • :album_id (Integer)

    ID of the album to which the audio files will be moved.

  • :audio_ids (Array)

    IDs of the audio files to be moved.; "NOTE: An album can hold up to 1000 audio files.";


# File 'lib/vk/api/audio/methods/move_to_album.rb', line 15

Instance Method Details

#album_idInteger

Returns ID of the album to which the audio files will be moved.

Returns:

  • (Integer)

    ID of the album to which the audio files will be moved.


27
# File 'lib/vk/api/audio/methods/move_to_album.rb', line 27

attribute :album_id, API::Types::Coercible::Int.optional.default(nil)

#audio_idsArray

Returns IDs of the audio files to be moved.; "NOTE: An album can hold up to 1000 audio files.";.

Returns:

  • (Array)

    IDs of the audio files to be moved.; "NOTE: An album can hold up to 1000 audio files.";


29
# File 'lib/vk/api/audio/methods/move_to_album.rb', line 29

attribute :audio_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int)

#group_idInteger

Returns ID of the community where the audio files are located. By default, current user ID.;.

Returns:

  • (Integer)

    ID of the community where the audio files are located. By default, current user ID.;


25
# File 'lib/vk/api/audio/methods/move_to_album.rb', line 25

attribute :group_id, API::Types::Coercible::Int.optional.default(nil)