get_text_entities

Function get_text_entities 

Source
pub async fn get_text_entities(
    text: String,
    client_id: i32,
) -> Result<TextEntities, Error>
Expand description

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

ยงArguments

  • text - The text in which to look for entities
  • client_id - The client id to send the request to