Skip to content

get stickers

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally