MadelineProtoDocs/docs/API_docs/constructors/textPlain.md
2024-05-01 14:53:46 +02:00

30 lines
568 B
Markdown

---
title: "textPlain"
description: "Plain text"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: textPlain
[Back to constructors index](/API_docs/constructors/index.html)
Plain text
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[string](/API_docs/types/string.html) | Yes|Text|
### Type: [RichText](/API_docs/types/RichText.html)
### Example:
```
$textPlain = ['_' => 'textPlain', 'text' => 'string'];
```