setStickerPositionInSet - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / setStickerPositionInSet

setStickerPositionInSet

suspend fun TelegramFlow.setStickerPositionInSet(sticker: InputFile?, position: Int): Unit

Suspend function, which changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.

Parameters

sticker - Sticker.

position - New position of the sticker in the set, zero-based.