MadelineProtoDocs/docs/TD_docs/constructors/textEntity.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

26 lines
750 B
Markdown

---
title: textEntity
description: Represent part of the text which needs to be formatted in some unusual way
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: textEntity
[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)