changeStickerSet - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / changeStickerSet

changeStickerSet

suspend fun TelegramFlow.changeStickerSet(setId: Long, isInstalled: Boolean, isArchived: Boolean): Unit

Suspend function, which installs/uninstalls or activates/archives a sticker set.

Parameters

setId - Identifier of the sticker set.

isInstalled - The new value of isInstalled.

isArchived - The new value of isArchived. A sticker set can’t be installed and archived simultaneously.