getStickers - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getStickers

getStickers

suspend fun TelegramFlow.getStickers(emoji: String?, limit: Int): Stickers

Suspend function, which returns stickers from the installed sticker sets that correspond to a given emoji. If the emoji is not empty, favorite and recently used stickers may also be returned.

Parameters

emoji - String representation of emoji. If empty, returns all known installed stickers.

limit - The maximum number of stickers to be returned.

Return Stickers Represents a list of stickers.