MadelineProtoDocs/old_docs/API_docs_v109/constructors/pageTableCell.md
2020-03-06 12:24:14 +01:00

1.5 KiB

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

Constructor: pageTableCell

Back to constructors index

Table cell

Attributes:

Name Type Required Description
header Bool Optional Is this element part of the column header
align_center Bool Optional Horizontally centered block
align_right Bool Optional Right-aligned block
valign_middle Bool Optional Vertically centered block
valign_bottom Bool Optional Block vertically-alligned to the bottom
text RichText Optional Content
colspan int Optional For how many columns should this cell extend
rowspan int Optional For how many rows should this cell extend

Type: PageTableCell

Example:

$pageTableCell = ['_' => 'pageTableCell', 'header' => Bool, 'align_center' => Bool, 'align_right' => Bool, 'valign_middle' => Bool, 'valign_bottom' => Bool, 'text' => RichText, 'colspan' => int, 'rowspan' => int];

Or, if you're into Lua:

pageTableCell={_='pageTableCell', header=Bool, align_center=Bool, align_right=Bool, valign_middle=Bool, valign_bottom=Bool, text=RichText, colspan=int, rowspan=int}