MessageEntityCustomEmoji¶
- class pyrogram.raw.types.MessageEntityCustomEmoji[source]¶
Represents a custom emoji. Note that this entity must wrap exactly one regular emoji (the one contained in documentAttributeCustomEmoji.
alt) in the related text, otherwise the server will ignore it.Constructor of
MessageEntity.- Details:
Layer:
229ID:
C8CF05F8
- Parameters:
offset (
int32-bit) – Offset of message entity within message (in UTF-16 code units )length (
int32-bit) – Length of message entity within message (in UTF-16 code units )document_id (
int64-bit) – Document ID of the custom emoji, use messages.getCustomEmojiDocuments to fetch the emoji animation and the actual emoji it represents.