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

751 B

title description
pageBlockList pageBlockList attributes, type and example

Constructor: pageBlockList

Back to constructors index

Attributes:

Name Type Required
ordered Bool Yes
items Array of RichText Yes

Type: PageBlock

Example:

$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText]];

PWRTelegram json-encoded version:

{"_": "pageBlockList", "ordered": Bool, "items": [RichText]}

Or, if you're into Lua:

pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}}