MadelineProtoDocs/docs/API_docs/constructors/pageBlockPullquote.md

44 lines
792 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
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}
```