mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 21:39:37 +01:00
44 lines
792 B
Markdown
44 lines
792 B
Markdown
|
---
|
||
|
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}
|
||
|
|
||
|
```
|
||
|
|
||
|
|