MadelineProtoDocs/docs/API_docs/constructors/pageBlockTable.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

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

Constructor: pageBlockTable

Back to constructors index

Page block table

Attributes:

Name Type Required Description
bordered Bool Optional Bordered?
striped Bool Optional Striped?
title RichText Yes Title
rows Array of PageTableRow Yes Rows

Type: PageBlock

Example:

$pageBlockTable = ['_' => 'pageBlockTable', 'bordered' => Bool, 'striped' => Bool, 'title' => RichText, 'rows' => [PageTableRow, PageTableRow]];

PWRTelegram json-encoded version:

{"_": "pageBlockTable", "bordered": Bool, "striped": Bool, "title": RichText, "rows": [PageTableRow]}

Or, if you're into Lua:

pageBlockTable={_='pageBlockTable', bordered=Bool, striped=Bool, title=RichText, rows={PageTableRow}}