libtd-ktx / kotlinx.telegram.coroutines / getTextEntities
getTextEntities
suspend fun
TelegramFlow
.getTextEntities(text:
String
?):
TextEntities
Suspend function, which returns all entities (mentions, hashtags, cashtags, bot commands, URLs, and email addresses) contained in the text. This is an offline method. Can be called before authorization. Can be called synchronously.
Parameters
text
- The text in which to look for entites.
Return TextEntities Contains a list of text entities.