MadelineProtoDocs/old_docs/API_docs_v91/constructors/pageBlockSlideshow.md
2019-03-08 13:49:23 +01:00

955 B

title description image
pageBlockSlideshow Page block slideshow https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockSlideshow

Back to constructors index

Page block slideshow

Attributes:

Name Type Required Description
items Array of PageBlock Yes Items
caption PageCaption Yes Caption

Type: PageBlock

Example:

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

PWRTelegram json-encoded version:

{"_": "pageBlockSlideshow", "items": [PageBlock], "caption": PageCaption}

Or, if you're into Lua:

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