Layer 224
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

Gogram Example

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

Possible Errors

Code Type Description
400 EMOTICON_EMPTY The emoji is empty.