messages.SearchStickers
- class pyrogram.raw.functions.messages.SearchStickers
Search for stickers using AI-powered keyword search
- Details:
Layer:
223ID:
29B1C66A
- Parameters:
q (
str) – The search termemoticon (
str) – Space-separated list of emojis to search forlang_code (List of
str) – List of possible IETF language tags of the user’s input language; may be empty if unknownoffset (
int32-bit) – Offset for paginationlimit (
int32-bit) – Maximum number of results to return, see paginationhash (
int64-bit) – Hash 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.emojis (
bool, optional) – If set, returns custom emoji stickers
- Returns:
TL Schema
messages.searchStickers#29b1c66a
flags:#
emojis:flags.0?true
q:string
emoticon:string
lang_code:Vector<string>
offset:int
limit:int
hash:long
= messages.FoundStickers
Parameter Tree
SearchStickers
├── emojis →
true (optional)├── q →
string├── emoticon →
string├── lang_code →
Vector < string >├── offset →
int├── limit →
int└── hash →
longExample
await app.invoke(
SearchStickers(
emojis=None,
q="text",
emoticon="text",
lang_code=["text"],
offset=0,
limit=0,
hash=0,
)
)