Sha256: 2d81ec51a9a784519adaab07de40d203301131177ed2a393e9ca1feb8d346955

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

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

module Vk
  module API
    class Audio < Vk::Schema::Namespace
      module Methods
        # Deletes an audio file from a user page or community page.
        class Delete < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :audio_id Audio file ID.
          #   @option arguments [Integer] :owner_id ID of the user or community that owns the audio file. Use a negative value to designate a community ID.
          #   @return [Audio::Methods::Delete]

          # @!group Arguments

          # @return [Integer] Audio file ID.
          attribute :audio_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the user or community that owns the audio file. Use a negative value to designate a community ID.
          attribute :owner_id, API::Types::Coercible::Int.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/delete.rb