TDLib v0.0.2 TDLib.Object.TextEntity View Source
Represents a part of the text that needs to be formatted in some unusual way.
Name | Type | Description |
---|---|---|
offset | number | Offset of the entity in UTF-16 code points. |
length | number | Length of the entity, in UTF-16 code points. |
type | TextEntityType | Type of the entity. |
More details on telegram’s documentation.