Layer 227
TextCustomEmoji
Inline custom emoji rendered from a document id, with a plain-text fallback.
constructor
textCustomEmoji#a26156c0 document_id:long alt:string = RichText;
Parameters
| Name | Type | Description |
|---|---|---|
| DocumentId | long | |
| Alt | string |
Returns
RichTextGogram Example
// Creating TextCustomEmoji constructor obj := &tg.TextCustomEmoji{ DocumentId: int64(1234567890), Alt: "Hello, World!", }