--- title: getTextEntities description: Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously --- ## Method: getTextEntities [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously ### Parameters: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |text|[CLICK ME string](../types/string.md) | Yes|Text to find entites in| ### Return type: [TextEntities](../types/TextEntities.md)