MadelineProtoDocs/docs/API_docs/constructors/messageEntityBold.md

31 lines
960 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "messageEntityBold"
description: "Message entity representing bold text."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageEntityBold
[Back to constructors index](/API_docs/constructors/index.html)
Message entity representing **bold text**.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|offset|[int](/API_docs/types/int.html) | Yes|Offset of message entity within message (in [UTF-16 code units](https://core.telegram.org/api/entities#entity-length))|
|length|[int](/API_docs/types/int.html) | Yes|Length of message entity within message (in [UTF-16 code units](https://core.telegram.org/api/entities#entity-length))|
### Type: [MessageEntity](/API_docs/types/MessageEntity.html)
### Example:
```
$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int];
```