serviceNotificationFlow - libtd-ktx

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


libtd-ktx / kotlinx.telegram.flows / serviceNotificationFlow

serviceNotificationFlow

fun TelegramFlow.serviceNotificationFlow(): Flow<UpdateServiceNotification>

emits UpdateServiceNotification if service notification from the server. Upon receiving this the client must show a popup with the content of the notification.