Layer 220
method Users
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

Name Type Description
Flags # Flags, see TL conditional fields
Emojis flags.0?true If set, returns custom emoji stickers
Q string The search term
Emoticon string Space-separated list of emojis to search for
LangCode Vector<string> List of possible IETF language tags of the user's input language; may be empty if unknown
Offset int Offset for pagination
Limit int Maximum number of results to return, see pagination
Hash long Hash used for caching, for more info click here. The hash may be generated locally by using the id s of the returned or stored sticker document s.

Gogram Example

// MessagesSearchStickers - using Params struct
result, err := client.MessagesSearchStickers(&tg.MessagesSearchStickersParams{
    Q: "...",
    Emoticon: "...",
    LangCode: "...",
    Offset: 0,
    Limit: 0,
    Hash: int64(0),

    // Optional fields:
    // Emojis: true,
})
if err != nil {
    // handle error
}
// result is *tg.MessagesFoundStickers