Class: Vk::API::Messages::Dialog
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Messages::Dialog
- Defined in:
- lib/vk/api/messages/dialog.rb
Overview
Instance Method Summary collapse
-
#in_read ⇒ Integer
ID of the last message read by current user.
- #message ⇒ API::Messages::Message
-
#out_read ⇒ Integer
ID of the last message read by the others.
-
#unread ⇒ Integer
Information whether unread messages are in the dialog.
Instance Method Details
#in_read ⇒ Integer
Returns ID of the last message read by current user.
15 |
# File 'lib/vk/api/messages/dialog.rb', line 15 attribute :in_read, API::Types::Coercible::Int.optional.default(nil) |
#message ⇒ API::Messages::Message
13 |
# File 'lib/vk/api/messages/dialog.rb', line 13 attribute :message, Dry::Types[API::Messages::Message].optional.default(nil) |