Class: Vk::API::Messages::Methods::Restore

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

Overview

Restores a deleted message.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Messages::Methods::Restore

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :message_id (Integer)

    ID of a previously-deleted message to restore.



# File 'lib/vk/api/messages/methods/restore.rb', line 15

Instance Method Details

#message_idInteger

Returns ID of a previously-deleted message to restore.

Returns:

  • (Integer)

    ID of a previously-deleted message to restore.



23
# File 'lib/vk/api/messages/methods/restore.rb', line 23

attribute :message_id, API::Types::Coercible::Int