Class: Vk::API::Board::Methods::EditComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Board::Methods::EditComment
- Defined in:
- lib/vk/api/board/methods/edit_comment.rb
Overview
Edits a comment on a topic on a community's discussion board.
Arguments collapse
-
#attachments ⇒ Array
(Required if 'message' is not set.) List of media objects attached to the comment, in the following format:; "
, "; '' — Type of media object:; 'photo' — photo; 'video' — video; 'audio' — audio; 'doc' — document; ' ' — ID of the media owner. -
#comment_id ⇒ Integer
ID of the comment on the topic.
-
#group_id ⇒ Integer
ID of the community that owns the discussion board.
-
#message ⇒ String
(Required if 'attachments' is not set).
-
#topic_id ⇒ Integer
Topic ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Board::Methods::EditComment
|
# File 'lib/vk/api/board/methods/edit_comment.rb', line 15
|
Instance Method Details
#attachments ⇒ Array
Returns (Required if 'message' is not set.) List of media objects attached to the comment, in the following format:; "
35 |
# File 'lib/vk/api/board/methods/edit_comment.rb', line 35 attribute :attachments, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#comment_id ⇒ Integer
Returns ID of the comment on the topic.
31 |
# File 'lib/vk/api/board/methods/edit_comment.rb', line 31 attribute :comment_id, API::Types::Coercible::Int |
#group_id ⇒ Integer
Returns ID of the community that owns the discussion board.
27 |
# File 'lib/vk/api/board/methods/edit_comment.rb', line 27 attribute :group_id, API::Types::Coercible::Int |