Class: Vk::API::Wall::WallComment
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::WallComment
- Defined in:
- lib/vk/api/wall/wall_comment.rb
Overview
Instance Method Summary collapse
- #attachments ⇒ Array
-
#date ⇒ Integer
Date when the comment has been added in Unixtime.
-
#from_id ⇒ Integer
Author ID.
-
#id ⇒ Integer
Comment ID.
- #likes ⇒ API::Base::LikesInfo
-
#real_offset ⇒ Integer
Real position of the comment.
-
#reply_to_comment ⇒ Integer
Replied comment ID.
-
#reply_to_user ⇒ Integer
Replied user ID.
-
#text ⇒ String
Comment text.
Instance Method Details
#attachments ⇒ Array
25 |
# File 'lib/vk/api/wall/wall_comment.rb', line 25 attribute :attachments, API::Types::Coercible::Array.member(API::Wall::CommentAttachment).optional.default(nil) |
#date ⇒ Integer
Returns Date when the comment has been added in Unixtime.
15 |
# File 'lib/vk/api/wall/wall_comment.rb', line 15 attribute :date, API::Types::Coercible::Int |
#from_id ⇒ Integer
Returns Author ID.
13 |
# File 'lib/vk/api/wall/wall_comment.rb', line 13 attribute :from_id, API::Types::Coercible::Int |
#id ⇒ Integer
Returns Comment ID.
11 |
# File 'lib/vk/api/wall/wall_comment.rb', line 11 attribute :id, API::Types::Coercible::Int |
#likes ⇒ API::Base::LikesInfo
19 |
# File 'lib/vk/api/wall/wall_comment.rb', line 19 attribute :likes, Dry::Types[API::Base::LikesInfo].optional.default(nil) |
#real_offset ⇒ Integer
Returns Real position of the comment.
27 |
# File 'lib/vk/api/wall/wall_comment.rb', line 27 attribute :real_offset, API::Types::Coercible::Int.optional.default(nil) |
#reply_to_comment ⇒ Integer
Returns Replied comment ID.
23 |
# File 'lib/vk/api/wall/wall_comment.rb', line 23 attribute :reply_to_comment, API::Types::Coercible::Int.optional.default(nil) |