Skip to content

getTextEntities

Function · TDLib 1.8.67 · d1085f9c

Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text. Can be called synchronously

getTextEntities(
  text: string
) → TextEntities

text

string

The text in which to look for entities