MadelineProto/docs/TD_docs/constructors/textEntity.md

25 lines
677 B
Markdown
Raw Normal View History

---
2017-08-25 15:05:53 +02:00
title: textEntity
description: Represent part of the text which needs to be formatted in some unusual way
---
2017-08-25 15:05:53 +02:00
## Constructor: textEntity
[Back to constructors index](index.md)
2017-08-25 15:05:53 +02:00
Represent part of the text which needs to be formatted in some unusual way
### Attributes:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|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|
2017-08-25 15:05:53 +02:00
|type|[TextEntityType](../types/TextEntityType.md) | Yes|Type of the entity|
2017-08-25 15:05:53 +02:00
### Type: [TextEntity](../types/TextEntity.md)