Class: Vk::API::Widgets::CommentRepliesItem
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Widgets::CommentRepliesItem
- Defined in:
- lib/vk/api/widgets/comment_replies_item.rb
Overview
Instance Method Summary collapse
-
#cid ⇒ Integer
Comment ID.
-
#date ⇒ Integer
Date when the comment has been added in Unixtime.
- #likes ⇒ API::Widgets::WidgetLikes
-
#text ⇒ String
Comment text.
-
#uid ⇒ Integer
User ID.
- #user ⇒ API::Users::UserFull
Instance Method Details
#cid ⇒ Integer
Returns Comment ID.
11 |
# File 'lib/vk/api/widgets/comment_replies_item.rb', line 11 attribute :cid, API::Types::Coercible::Int.optional.default(nil) |
#date ⇒ Integer
Returns Date when the comment has been added in Unixtime.
15 |
# File 'lib/vk/api/widgets/comment_replies_item.rb', line 15 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#likes ⇒ API::Widgets::WidgetLikes
19 |
# File 'lib/vk/api/widgets/comment_replies_item.rb', line 19 attribute :likes, Dry::Types[API::Widgets::WidgetLikes].optional.default(nil) |
#text ⇒ String
Returns Comment text.
17 |
# File 'lib/vk/api/widgets/comment_replies_item.rb', line 17 attribute :text, API::Types::Coercible::String.optional.default(nil) |
#uid ⇒ Integer
Returns User ID.
13 |
# File 'lib/vk/api/widgets/comment_replies_item.rb', line 13 attribute :uid, API::Types::Coercible::Int.optional.default(nil) |
#user ⇒ API::Users::UserFull
21 |
# File 'lib/vk/api/widgets/comment_replies_item.rb', line 21 attribute :user, Dry::Types[API::Users::UserFull].optional.default(nil) |