Class: Vk::API::Wall::Methods::EditComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Wall::Methods::EditComment
- Defined in:
- lib/vk/api/wall/methods/edit_comment.rb
Overview
Edits a comment on a user wall or community wall.;
Arguments collapse
-
#attachments ⇒ Array
List of objects attached to the comment, in the following format:; ; "
, "; '' — Type of media attachment:; 'photo' — photo; 'video' — video; 'audio' — audio; 'doc' — document; ' ' — ID of the media attachment owner.; ' ' — Media attachment ID. -
#comment_id ⇒ Integer
Comment ID.
-
#message ⇒ String
New comment text.;.
-
#owner_id ⇒ Integer
User ID or community ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
permalink #initialize(arguments) ⇒ Wall::Methods::EditComment
|
# File 'lib/vk/api/wall/methods/edit_comment.rb', line 15
|
Instance Method Details
permalink #attachments ⇒ Array
Returns List of objects attached to the comment, in the following format:; ; "
32 |
# File 'lib/vk/api/wall/methods/edit_comment.rb', line 32 attribute :attachments, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
permalink #comment_id ⇒ Integer
Returns Comment ID.
28 |
# File 'lib/vk/api/wall/methods/edit_comment.rb', line 28 attribute :comment_id, API::Types::Coercible::Int |
permalink #message ⇒ String
Returns New comment text.;.
30 |
# File 'lib/vk/api/wall/methods/edit_comment.rb', line 30 attribute :message, API::Types::Coercible::String.optional.default(nil) |
permalink #owner_id ⇒ Integer
Returns User ID or community ID. Use a negative value to designate a community ID.; ;.
26 |
# File 'lib/vk/api/wall/methods/edit_comment.rb', line 26 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |