messages.searchCustomEmoji #

Look for custom emojis associated to a UTF8 emoji

Layer 223

emojiListNotModified#481eadfa = EmojiList;
emojiList#7a1e11d1 hash:long document_id:Vector<long> = EmojiList;
---functions---
messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList;

Parameters #

NameTypeDescription
emoticonstringThe emoji
hashlongHash used for caching, for more info click here.

Result #

EmojiList

Only users can use this method #

Possible errors #

CodeTypeDescription
400EMOTICON_EMPTYThe emoji is empty.

Pagination in the API #

How to fetch results from large lists of objects.

Custom emojis #

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