Layer 220
method Users
messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList;

Parameters

Name Type Description
Emoticon string The emoji
Hash long Hash used for caching, for more info click here.

Returns

EmojiList

Possible Errors

Code Type Description
400 EMOTICON_EMPTY The emoji is empty.

Gogram Example

// MessagesSearchCustomEmoji - positional arguments
result, err := client.MessagesSearchCustomEmoji("...", int64(0))
if err != nil {
    // handle error
}
// result is *tg.EmojiList