Class: Vk::API::Video::Methods::DeleteComment

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

Overview

Deletes a comment on a video.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of the user or community that owns the video.

  • :comment_id (Integer)

    ID of the comment to be deleted.


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

Instance Method Details

#comment_idInteger

Returns ID of the comment to be deleted.

Returns:

  • (Integer)

    ID of the comment to be deleted.


26
# File 'lib/vk/api/video/methods/delete_comment.rb', line 26

attribute :comment_id, API::Types::Coercible::Int

#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.


24
# File 'lib/vk/api/video/methods/delete_comment.rb', line 24

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