getTextEntities¶
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