MadelineProtoDocs/old_docs/API_docs_v109/constructors/pageBlockTable.md
2020-03-06 12:24:14 +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}}