Skip to content

getStickers

Function · TDLib 1.8.67 · d1085f9c

Returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords. If the query is non-empty, then favorite, recently used or trending stickers may also be returned

getStickers(
  sticker_type: StickerType,
  query: string,
  limit: int32,
  chat_id: int53
) → Stickers

sticker_type

StickerType

Type of the stickers to return

query

string

Search query; a space-separated list of emojis or a keyword prefix. If empty, returns all known installed stickers

limit

int32

The maximum number of stickers to be returned

chat_id

int53

Chat identifier for which to return stickers. Available custom emoji stickers may be different for different chats