Class: TD::Types::Update::UnreadChatCount
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::UnreadChatCount
- Defined in:
- lib/tdlib/types/update/unread_chat_count.rb
Overview
Number of unread chats, i.e. with unread messages or marked as unread, 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.
-
#marked_as_unread_count ⇒ Integer
Total number of chats marked as unread.
-
#marked_as_unread_unmuted_count ⇒ Integer
Total number of unmuted chats marked as unread.
-
#total_count ⇒ Integer
Approximate total number of chats in the chat list.
-
#unread_count ⇒ Integer
Total number of unread chats.
-
#unread_unmuted_count ⇒ Integer
Total number of unread 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.
12 13 14 |
# File 'lib/tdlib/types/update/unread_chat_count.rb', line 12 def chat_list @chat_list end |
#marked_as_unread_count ⇒ Integer
Total number of chats marked as unread.
12 13 14 |
# File 'lib/tdlib/types/update/unread_chat_count.rb', line 12 def marked_as_unread_count @marked_as_unread_count end |
#marked_as_unread_unmuted_count ⇒ Integer
Total number of unmuted chats marked as unread.
12 13 14 |
# File 'lib/tdlib/types/update/unread_chat_count.rb', line 12 def marked_as_unread_unmuted_count @marked_as_unread_unmuted_count end |
#total_count ⇒ Integer
Approximate total number of chats in the chat list.
12 13 14 |
# File 'lib/tdlib/types/update/unread_chat_count.rb', line 12 def total_count @total_count end |
#unread_count ⇒ Integer
Total number of unread chats.
12 13 14 |
# File 'lib/tdlib/types/update/unread_chat_count.rb', line 12 def unread_count @unread_count end |
#unread_unmuted_count ⇒ Integer
Total number of unread unmuted chats.
12 13 14 |
# File 'lib/tdlib/types/update/unread_chat_count.rb', line 12 def unread_unmuted_count @unread_unmuted_count end |