1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 21:39:37 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/pageBlockPullquote.md

44 lines
792 B
Markdown
Raw Normal View History

---
title: pageBlockPullquote
description: pageBlockPullquote attributes, type and example
---
## Constructor: pageBlockPullquote
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|text|[RichText](../types/RichText.md) | Yes|
|caption|[RichText](../types/RichText.md) | Yes|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```
$pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "pageBlockPullquote", "text": RichText, "caption": RichText}
```
Or, if you're into Lua:
```
pageBlockPullquote={_='pageBlockPullquote', text=RichText, caption=RichText}
```