removeNotification - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / removeNotification

removeNotification

suspend fun TelegramFlow.removeNotification(notificationGroupId: Int, notificationId: Int): Unit

Suspend function, which removes an active notification from notification list. Needs to be called only if the notification is removed by the current user.

Parameters

notificationGroupId - Identifier of notification group to which the notification belongs.

notificationId - Identifier of removed notification.