View Source ExTDLib.Object.TextEntity (ExTDLib v0.0.4)

Represents a part of the text that needs to be formatted in some unusual way.

NameTypeDescription
offsetnumberOffset of the entity, in UTF-16 code units.
lengthnumberLength of the entity, in UTF-16 code units.
typeTextEntityTypeType of the entity.

More details on telegram's documentation.