Skip to content

TextEntity

Type · TDLib 1.8.67 · d1085f9c

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

TextEntity(
  offset: int32,
  length: int32,
  type: TextEntityType
) → TextEntity

offset

int32

Offset of the entity, in UTF-16 code units

length

int32

Length of the entity, in UTF-16 code units

type

TextEntityType

Type of the entity