search_custom_emoji()

async Client.search_custom_emoji()

Search for custom emoji by emoticon text.

Usable by Users Bots
Parameters:
  • emoticon (str) – The emoji character(s) to search for.

  • hash (int, optional) – Hash for caching.

Returns:

EmojiList – The list of custom emoji.

Example

results = await app.search_custom_emoji("😀")