mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:26:57 +01:00
23 lines
734 B
Markdown
23 lines
734 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
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|text|[string](../types/string.md) | Yes|Text to find entites in|
|
|
|
|
|
|
### Return type: [TextEntities](../types/TextEntities.md)
|
|
|