mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 08:36:55 +01:00
25 lines
677 B
Markdown
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)
|
|
|
|
|