Interface GetStickers

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. Request type for Tdjson#getStickers.

interface GetStickers {
    @type: "getStickers";
    chat_id: number;
    limit: number;
    query: string;
    sticker_type: StickerType;
}

Properties

@type: "getStickers"
chat_id: number

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

limit: number

The maximum number of stickers to be returned.

query: string

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

sticker_type: StickerType

Type of the stickers to return.