43 lines
607 B
Markdown
43 lines
607 B
Markdown
|
---
|
||
|
title: textFixed
|
||
|
description: textFixed attributes, type and example
|
||
|
---
|
||
|
## 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}
|
||
|
|
||
|
```
|
||
|
|
||
|
|