Skip to content

UpdateUnreadChatCount

Update · TDLib 1.8.67 · d1085f9c

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

UpdateUnreadChatCount(
  chat_list: ChatList,
  total_count: int32,
  unread_count: int32,
  unread_unmuted_count: int32,
  marked_as_unread_count: int32,
  marked_as_unread_unmuted_count: int32
) → Update

chat_list

ChatList

The chat list with changed number of unread messages

total_count

int32

Approximate total number of chats in the chat list

unread_count

int32

Total number of unread chats

unread_unmuted_count

int32

Total number of unread unmuted chats

marked_as_unread_count

int32

Total number of chats marked as unread

marked_as_unread_unmuted_count

int32

Total number of unmuted chats marked as unread