messages.SearchCustomEmoji

class pyrogram.raw.functions.messages.SearchCustomEmoji

Look for custom emojis associated to a UTF8 emoji

Details:
  • Layer: 223

  • ID: 2C11C0D7

Parameters:
  • emoticon (str) – The emoji

  • hash (int 64-bit) – Hash used for caching, for more info click here.

Returns:

EmojiList

TL Schema

messages.searchCustomEmoji#2c11c0d7
emoticon:string
hash:long

= EmojiList

Parameter Tree

SearchCustomEmoji
├── emoticonstring
└── hashlong

Example

await app.invoke(
    SearchCustomEmoji(
        emoticon="text",
        hash=0,
    )
)