Class: Vk::API::Wall::Methods::DeleteComment

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

Overview

Deletes a comment on a post on a user wall or community wall.;

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    User ID or community ID. Use a negative value to designate a community ID.;

  • :comment_id (Integer)

    Comment ID.


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

Instance Method Details

#comment_idInteger

Returns Comment ID.

Returns:

  • (Integer)

    Comment ID.


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

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

#owner_idInteger

Returns User ID or community ID. Use a negative value to designate a community ID.;.

Returns:

  • (Integer)

    User ID or community ID. Use a negative value to designate a community ID.;


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

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