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