MadelineProto/docs/TD_docs/constructors/textEntity.md
2017-08-25 15:05:53 +02:00

25 lines
677 B
Markdown

---
title: textEntity
description: Represent part of the text which needs to be formatted in some unusual way
---
## 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)