Sha256: 0cb101b8deb00e3520649f0632e4a83c0eedfb7762f87829f1565ffb7fa71911

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Audio < Vk::Schema::Namespace
      module Methods
        # Moves audio files to an album.
        class MoveToAlbum < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'audio.moveToAlbum'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id ID of the community where the audio files are located. By default, current user ID.;
          #   @option arguments [Integer] :album_id ID of the album to which the audio files will be moved.
          #   @option arguments [Array] :audio_ids IDs of the audio files to be moved.; "NOTE: An album can hold up to 1000 audio files.";
          #   @return [Audio::Methods::MoveToAlbum]

          # @!group Arguments

          # @return [Integer] ID of the community where the audio files are located. By default, current user ID.;
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the album to which the audio files will be moved.
          attribute :album_id, API::Types::Coercible::Int.optional
          # @return [Array] IDs of the audio files to be moved.; "NOTE: An album can hold up to 1000 audio files.";
          attribute :audio_ids, API::Types::Coercible::Array.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/audio/methods/move_to_album.rb