havePendingNotificationsFlow - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


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.