4baac3178e
Add PHP, Lua language tag to Code area
44 lines
876 B
Markdown
44 lines
876 B
Markdown
---
|
|
title: pageBlockBlockquote
|
|
description: pageBlockBlockquote attributes, type and example
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: pageBlockBlockquote
|
|
[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:
|
|
|
|
```php
|
|
$pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "pageBlockBlockquote", "text": RichText, "caption": RichText}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
pageBlockBlockquote={_='pageBlockBlockquote', text=RichText, caption=RichText}
|
|
|
|
```
|
|
|
|
|