Class: Vk::API::Photos::Methods::RestoreComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::RestoreComment
- Defined in:
- lib/vk/api/photos/methods/restore_comment.rb
Overview
Restores a deleted comment on a photo.
Arguments collapse
-
#comment_id ⇒ Integer
ID of the deleted comment.
-
#owner_id ⇒ Integer
ID of the user or community that owns the photo.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::RestoreComment
|
|
# File 'lib/vk/api/photos/methods/restore_comment.rb', line 15
|
Instance Method Details
#comment_id ⇒ Integer
Returns ID of the deleted comment.
26 |
# File 'lib/vk/api/photos/methods/restore_comment.rb', line 26 attribute :comment_id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the photo.
24 |
# File 'lib/vk/api/photos/methods/restore_comment.rb', line 24 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |