libtd-ktx / kotlinx.telegram.flows / unreadChatCountFlow
unreadChatCountFlow
fun
TelegramFlow
.unreadChatCountFlow(): Flow<
UpdateUnreadChatCount
>
emits UpdateUnreadChatCount if 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.