Class: Vk::API::Audio::Methods::Delete

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

Overview

Deletes an audio file from a user page or community page.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :audio_id (Integer)

    Audio file ID.

  • :owner_id (Integer)

    ID of the user or community that owns the audio file. Use a negative value to designate a community ID.


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

Instance Method Details

#audio_idInteger

Returns Audio file ID.

Returns:

  • (Integer)

    Audio file ID.


24
# File 'lib/vk/api/audio/methods/delete.rb', line 24

attribute :audio_id, API::Types::Coercible::Int

#owner_idInteger

Returns ID of the user or community that owns the audio file. Use a negative value to designate a community ID.

Returns:

  • (Integer)

    ID of the user or community that owns the audio file. Use a negative value to designate a community ID.


26
# File 'lib/vk/api/audio/methods/delete.rb', line 26

attribute :owner_id, API::Types::Coercible::Int