Class: Vk::API::Notifications::NotificationsComment
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Notifications::NotificationsComment
- Defined in:
- lib/vk/api/notifications/notifications_comment.rb
Overview
Instance Method Summary collapse
-
#date ⇒ Integer
Date when the comment has been added in Unixtime.
-
#id ⇒ Integer
Comment ID.
-
#owner_id ⇒ Integer
Author ID.
- #photo ⇒ API::Photos::Photo
- #post ⇒ API::Wall::Wallpost
-
#text ⇒ String
Comment text.
- #topic ⇒ API::Board::Topic
- #video ⇒ API::Video::Video
Instance Method Details
#date ⇒ Integer
Returns Date when the comment has been added in Unixtime.
15 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 15 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#id ⇒ Integer
Returns Comment ID.
11 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns Author ID.
13 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 13 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#photo ⇒ API::Photos::Photo
19 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 19 attribute :photo, Dry::Types[API::Photos::Photo].optional.default(nil) |
#post ⇒ API::Wall::Wallpost
23 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 23 attribute :post, Dry::Types[API::Wall::Wallpost].optional.default(nil) |
#text ⇒ String
Returns Comment text.
17 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 17 attribute :text, API::Types::Coercible::String.optional.default(nil) |
#topic ⇒ API::Board::Topic
25 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 25 attribute :topic, Dry::Types[API::Board::Topic].optional.default(nil) |
#video ⇒ API::Video::Video
21 |
# File 'lib/vk/api/notifications/notifications_comment.rb', line 21 attribute :video, Dry::Types[API::Video::Video].optional.default(nil) |