MadelineProtoDocs/docs/API_docs/constructors/pageBlockTable.md

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