removeRecentSticker - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / removeRecentSticker

removeRecentSticker

suspend fun TelegramFlow.removeRecentSticker(isAttached: Boolean, sticker: InputFile?): Unit

Suspend function, which removes a sticker from the list of recently used stickers.

Parameters

isAttached - Pass true to remove the sticker from the list of stickers recently attached to photo or video files; pass false to remove the sticker from the list of recently sent stickers.

sticker - Sticker file to delete.