MadelineProtoDocs/old_docs/API_docs_v20/constructors/pageBlockCollage.md
2020-06-16 17:50:25 +02:00

779 B

title description image
pageBlockCollage Collage of media https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockCollage

Back to constructors index

Collage of media

Attributes:

Name Type Required Description
items Array of PageBlock Yes Media elements
caption RichText Yes

Type: PageBlock

Example:

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

Or, if you're into Lua:

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