Airgram

Guides
/
/
Output types

TextEntity

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

This is an alias for the TextEntityUnion type.


NameTypeDescription
_"textEntity"
offsetnumber Offset of the entity, in UTF-16 code units
lengthnumber Length of the entity, in UTF-16 code units
type Type of the entity