MadelineProtoDocs/docs/TD_docs/constructors/textEntity.md

26 lines
750 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: textEntity
description: Represent part of the text which needs to be formatted in some unusual way
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: textEntity
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
Represent part of the text which needs to be formatted in some unusual way
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|offset|[int](../types/int.md) | Yes|Offset of the entity in UTF-16 code points|
|length|[int](../types/int.md) | Yes|Length of the entity in UTF-16 code points|
|type|[TextEntityType](../types/TextEntityType.md) | Yes|Type of the entity|
### Type: [TextEntity](../types/TextEntity.md)