Class: Vk::API::Notes::Methods::RestoreComment

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

Overview

Restores a deleted comment on a note.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :comment_id (Integer)

    Comment ID.

  • :owner_id (Integer)

    Note owner ID.



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

Instance Method Details

#comment_idInteger

Returns Comment ID.

Returns:

  • (Integer)

    Comment ID.



24
# File 'lib/vk/api/notes/methods/restore_comment.rb', line 24

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

#owner_idInteger

Returns Note owner ID.

Returns:

  • (Integer)

    Note owner ID.



26
# File 'lib/vk/api/notes/methods/restore_comment.rb', line 26

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