Class: Vk::API::Board::Methods::RestoreComment

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

Overview

Restores a comment deleted from a topic on a community's discussion board.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Board::Methods::RestoreComment

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID of the community that owns the discussion board.

  • :topic_id (Integer)

    Topic ID.

  • :comment_id (Integer)

    Comment ID.


# File 'lib/vk/api/board/methods/restore_comment.rb', line 15

Instance Method Details

#comment_idInteger

Returns Comment ID.

Returns:

  • (Integer)

    Comment ID.


29
# File 'lib/vk/api/board/methods/restore_comment.rb', line 29

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

#group_idInteger

Returns ID of the community that owns the discussion board.

Returns:

  • (Integer)

    ID of the community that owns the discussion board.


25
# File 'lib/vk/api/board/methods/restore_comment.rb', line 25

attribute :group_id, API::Types::Coercible::Int

#topic_idInteger

Returns Topic ID.

Returns:

  • (Integer)

    Topic ID.


27
# File 'lib/vk/api/board/methods/restore_comment.rb', line 27

attribute :topic_id, API::Types::Coercible::Int