Class: Vk::API::Video::Methods::Delete

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

Overview

Deletes a video from a user or community page.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):


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

Instance Method Details

#owner_idInteger

Returns ID of the user or community that owns the video.

Returns:

  • (Integer)

    ID of the user or community that owns the video.


27
# File 'lib/vk/api/video/methods/delete.rb', line 27

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

#target_idInteger


29
# File 'lib/vk/api/video/methods/delete.rb', line 29

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

#video_idInteger

Returns Video ID.

Returns:

  • (Integer)

    Video ID.


25
# File 'lib/vk/api/video/methods/delete.rb', line 25

attribute :video_id, API::Types::Coercible::Int