Class: TD::Types::Update::ChatReadInbox
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::ChatReadInbox
- Defined in:
- lib/tdlib/types/update/chat_read_inbox.rb
Overview
Incoming messages were read or number of unread messages has been changed.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier.
-
#last_read_inbox_message_id ⇒ Integer
Identifier of the last read incoming message.
-
#unread_count ⇒ Integer
The number of unread messages left in the chat.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Chat identifier.
7 8 9 |
# File 'lib/tdlib/types/update/chat_read_inbox.rb', line 7 def chat_id @chat_id end |
#last_read_inbox_message_id ⇒ Integer
Identifier of the last read incoming message.
7 8 9 |
# File 'lib/tdlib/types/update/chat_read_inbox.rb', line 7 def @last_read_inbox_message_id end |
#unread_count ⇒ Integer
The number of unread messages left in the chat.
7 8 9 |
# File 'lib/tdlib/types/update/chat_read_inbox.rb', line 7 def unread_count @unread_count end |