Class: Vk::API::Notes::Methods::CreateComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Notes::Methods::CreateComment
- Defined in:
- lib/vk/api/notes/methods/create_comment.rb
Overview
Adds a new comment on a note.
Arguments collapse
- #guid ⇒ String
-
#message ⇒ String
Comment text.
-
#note_id ⇒ Integer
Note ID.
-
#owner_id ⇒ Integer
Note owner ID.
-
#reply_to ⇒ Integer
ID of the user to whom the reply is addressed (if the comment is a reply to another comment).;.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Notes::Methods::CreateComment
|
# File 'lib/vk/api/notes/methods/create_comment.rb', line 15
|
Instance Method Details
#guid ⇒ String
35 |
# File 'lib/vk/api/notes/methods/create_comment.rb', line 35 attribute :guid, API::Types::Coercible::String.optional.default(nil) |
#message ⇒ String
Returns Comment text.
33 |
# File 'lib/vk/api/notes/methods/create_comment.rb', line 33 attribute :message, API::Types::Coercible::String |
#note_id ⇒ Integer
Returns Note ID.
27 |
# File 'lib/vk/api/notes/methods/create_comment.rb', line 27 attribute :note_id, API::Types::Coercible::Int |