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

799 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 PageCaption Yes Caption

Type: PageBlock

Example:

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

Or, if you're into Lua:

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