MadelineProto/docs/TD_docs/methods/getTextEntities.md

23 lines
734 B
Markdown
Raw Normal View History

2017-12-21 21:08:25 +01:00
---
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
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[string](../types/string.md) | Yes|Text to find entites in|
### Return type: [TextEntities](../types/TextEntities.md)