messages.searchCustomEmoji

Look for custom emojis associated to a UTF8 emoji

emojiListNotModified#481eadfa = EmojiList;
emojiList#7a1e11d1 hash:long document_id:Vector<long> = EmojiList;
---functions---
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.
Note: the usual hash generation algorithm cannot be used in this case, please re-use the emojiList.hash field returned by a previous call to the method, or pass 0 if this is the first call.

Result

EmojiList

Possible errors

Code Type Description
400 EMOTICON_EMPTY The emoji is empty.

Related pages

Pagination in the API

How to fetch results from large lists of objects.

emojiList

Represents a list of custom emojis.

Custom emojis

Telegram allows including animated and static custom emojis inside of messages.