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

974 B

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

Constructor: pageBlockTable

Back to constructors index

Table

Attributes:

Name Type Required Description
bordered Bool Optional Does the table have a visible border?
striped Bool Optional Is the table striped?
title RichText Yes Title
rows Array of PageTableRow Yes Table rows

Type: PageBlock

Example:

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

Or, if you're into Lua:

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