Class: TD::Types::Update::UnreadMessageCount
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::UnreadMessageCount
- Defined in:
- lib/tdlib/types/update/unread_message_count.rb
Overview
Number of unread messages in a chat list has changed. This update is sent only if the message database is used.
Instance Attribute Summary collapse
-
#chat_list ⇒ TD::Types::ChatList
The chat list with changed number of unread messages.
-
#unread_count ⇒ Integer
Total number of unread messages.
-
#unread_unmuted_count ⇒ Integer
Total number of unread messages in unmuted chats.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_list ⇒ TD::Types::ChatList
The chat list with changed number of unread messages.
8 9 10 |
# File 'lib/tdlib/types/update/unread_message_count.rb', line 8 def chat_list @chat_list end |
#unread_count ⇒ Integer
Total number of unread messages.
8 9 10 |
# File 'lib/tdlib/types/update/unread_message_count.rb', line 8 def unread_count @unread_count end |
#unread_unmuted_count ⇒ Integer
Total number of unread messages in unmuted chats.
8 9 10 |
# File 'lib/tdlib/types/update/unread_message_count.rb', line 8 def unread_unmuted_count @unread_unmuted_count end |