Skip to content
Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally