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