Class: Vk::API::Market::Methods::RestoreComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::RestoreComment
- Defined in:
- lib/vk/api/market/methods/restore_comment.rb
Overview
Restores a recently deleted comment
Arguments collapse
-
#comment_id ⇒ Integer
Deleted comment id.
-
#owner_id ⇒ Integer
Identifier of an item owner community; "Note that community id in the 'owner_id' parameter should be negative number.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Market::Methods::RestoreComment
|
# File 'lib/vk/api/market/methods/restore_comment.rb', line 15
|
Instance Method Details
#comment_id ⇒ Integer
Returns deleted comment id.
26 |
# File 'lib/vk/api/market/methods/restore_comment.rb', line 26 attribute :comment_id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns identifier of an item owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community ".
24 |
# File 'lib/vk/api/market/methods/restore_comment.rb', line 24 attribute :owner_id, API::Types::Coercible::Int |