1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:19:38 +01:00
MadelineProto/docs/API_docs/constructors/pageBlockCollage.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

800 B

title description
pageBlockCollage pageBlockCollage attributes, type and example

Constructor: pageBlockCollage

Back to constructors index

Attributes:

Name Type Required
items Array of PageBlock Yes
caption RichText Yes

Type: PageBlock

Example:

$pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText];

PWRTelegram json-encoded version:

{"_": "pageBlockCollage", "items": [PageBlock], "caption": RichText}

Or, if you're into Lua:

pageBlockCollage={_='pageBlockCollage', items={PageBlock}, caption=RichText}