libtd-ktx / kotlinx.telegram.flows / havePendingNotificationsFlow
havePendingNotificationsFlow
fun
TelegramFlow
.havePendingNotificationsFlow(): Flow<
UpdateHavePendingNotifications
>
emits UpdateHavePendingNotifications if describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications.