Raw.messages.SearchStickers
Search for stickers using ai-powered keyword search
messages.searchStickers#29b1c66a flags:# emojis:flags.0?true q:string emoticon:string lang_code:Vector<string> offset:int limit:int hash:long = messages.FoundStickers;
export namespace Raw {
export namespace messages {
export class SearchStickers {
constructor(params: {
emojis?: boolean;
q: string;
emoticon: string;
langCode: Array<string>;
offset: number;
limit: number;
hash: bigint;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0x29b1c66a
Property
emojis
: boolean or undefinedIf set, returns custom emoji stickers
q
: stringThe search term
emoticon
: stringSpace-separated list of emojis to search for
langCode
: Array of stringList of possible ietf language tags of the user’s input language; may be empty if unknown
offset
: numberOffset for pagination
limit
: numberMaximum number of results to return, see pagination
hash
: bigintHash 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.