mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 17:06:57 +01:00
23 lines
747 B
Markdown
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)
|
|
|