Layer 220
MessagesSearchCustomEmoji
Look for custom emojis associated to a UTF 8 emoji
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
EmojiListPossible 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