CommonKtx.remove - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / CommonKtx / remove

remove

open suspend fun Background.remove(): Unit

Suspend function, which removes background from the list of installed backgrounds.

open suspend fun Notification.remove(notificationGroupId: 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.