telegram api constructor · layer 229 · #c8cf05f8
messageEntityCustomEmoji
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.
definition
messageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long = MessageEntity;
parameters
| name | type | description |
|---|---|---|
offset | int | Offset of message entity within message (in UTF-16 code units) |
length | int | Length of message entity within message (in UTF-16 code units) |
document_id | long | Document ID of the custom emoji, use messages.getCustomEmojiDocuments to fetch the emoji animation and the actual emoji it represents. |
type
MessageEntity · 24 other constructors
history
present in layers 144–229
| id | layers |
|---|---|
| #c8cf05f8 | 144–229 |