1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 20:57:48 +01:00
MadelineProto/docs/API_docs/constructors/pageBlockParagraph.md

45 lines
711 B
Markdown
Raw Normal View History

---
title: pageBlockParagraph
2017-08-25 15:05:53 +02:00
description: A text paragraph
---
## Constructor: pageBlockParagraph
[Back to constructors index](index.md)
2017-08-25 15:05:53 +02:00
A text paragraph
### Attributes:
2017-08-25 15:05:53 +02:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[RichText](../types/RichText.md) | Yes|Paragraph text|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "pageBlockParagraph", "text": RichText}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
pageBlockParagraph={_='pageBlockParagraph', text=RichText}
```