44 lines
680 B
Markdown
44 lines
680 B
Markdown
---
|
|
title: textFixed
|
|
description: textFixed attributes, type and example
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: textFixed
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|---------------|----------|
|
|
|text|[RichText](../types/RichText.md) | Yes|
|
|
|
|
|
|
|
|
### Type: [RichText](../types/RichText.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$textFixed = ['_' => 'textFixed', 'text' => RichText];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "textFixed", "text": RichText}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
textFixed={_='textFixed', text=RichText}
|
|
|
|
```
|
|
|
|
|