1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 23:46:54 +01:00
MadelineProto/docs/TD_docs/methods/getTextEntities.md

23 lines
747 B
Markdown

---
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)