messages.searchStickers #

Search for stickers using AI-powered keyword search

Layer 223

messages.foundStickersNotModified#6010c534 flags:# next_offset:flags.0?int = messages.FoundStickers;
messages.foundStickers#82c9e290 flags:# next_offset:flags.0?int hash:long stickers:Vector<Document> = messages.FoundStickers;
---functions---
messages.searchStickers#29b1c66a flags:# emojis:flags.0?true q:string emoticon:string lang_code:Vector<string> offset:int limit:int hash:long = messages.FoundStickers;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
emojisflags.0?trueIf set, returns custom emoji stickers
qstringThe search term
emoticonstringSpace-separated list of emojis to search for
lang_codeVector<string>List of possible IETF language tags of the user's input language; may be empty if unknown
offsetintOffset for pagination
limitintMaximum number of results to return, see pagination
hashlongHash used for caching, for more info click here.
The hash may be generated locally by using the ids of the returned or stored sticker documents.

Result #

messages.FoundStickers

Only users can use this method #

Custom emojis #

Telegram allows including animated and static custom emojis inside of messages.

Pagination in the API #

How to fetch results from large lists of objects.

document #

Document