NotificationGroupKtx - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / NotificationGroupKtx

NotificationGroupKtx

interface NotificationGroupKtx : BaseKtx

Interface for access TdApi.NotificationGroup extension functions. Can be used alongside with other extension interfaces of the package. Must contain TelegramFlow instance field to access its functionality

Properties

api Instance of the TelegramFlow connecting extensions to the Telegram Clientabstract val api: TelegramFlow

Functions

remove Suspend function, which removes a group of active notifications. Needs to be called only if the notification group is removed by the current user.open suspend fun NotificationGroup.remove(maxNotificationId: Int): Unit
removeNotification Suspend function, which removes an active notification from notification list. Needs to be called only if the notification is removed by the current user.open suspend fun NotificationGroup.removeNotification(notificationId: Int): Unit

Inheritors

TelegramKtx Interface for access all Telegram objects extension functions. Contains 182 extensionsinterface TelegramKtx : BasicGroupKtx, CallKtx, ChatKtx, FileKtx, MessageKtx, NotificationGroupKtx, ProxyKtx, SecretChatKtx, SupergroupKtx, UserKtx, CommonKtx