Class: Vk::API::Market::Methods::EditComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::EditComment
- Defined in:
- lib/vk/api/market/methods/edit_comment.rb
Overview
Chages item comment's text
Arguments collapse
-
#attachments ⇒ Array
Comma-separated list of objects attached to a comment.
-
#comment_id ⇒ Integer
Comment ID.
-
#message ⇒ String
New comment text (required if 'attachments' are not specified); ; 2048 symbols maximum.
-
#owner_id ⇒ Integer
ID of an item owner community.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Market::Methods::EditComment
|
|
# File 'lib/vk/api/market/methods/edit_comment.rb', line 15
|
Instance Method Details
#attachments ⇒ Array
Returns Comma-separated list of objects attached to a comment. The field is submitted the following way: ; "'<owner_id><media_id>,<owner_id><media_id>'"; ; '' - media attachment type:; "'photo' - photo; 'video' - video; 'audio' - audio; 'doc' - document"; ; '<owner_id>' - media owner id; '<media_id>' - media attachment id; ; For example:; "photo100172_166443618,photo66748_265827614";.
32 |
# File 'lib/vk/api/market/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/market/methods/edit_comment.rb', line 28 attribute :comment_id, API::Types::Coercible::Int |
#message ⇒ String
Returns New comment text (required if 'attachments' are not specified); ; 2048 symbols maximum.
30 |
# File 'lib/vk/api/market/methods/edit_comment.rb', line 30 attribute :message, API::Types::Coercible::String.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of an item owner community.
26 |
# File 'lib/vk/api/market/methods/edit_comment.rb', line 26 attribute :owner_id, API::Types::Coercible::Int |