MadelineProtoDocs/old_docs/API_docs_v105/constructors/pageBlockTable.md
2019-12-27 17:48:04 +01:00

968 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 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}}