InputRichBlockTableCell

class pyrogram.types.InputRichBlockTableCell[source]

A cell in a table row (used with InputRichBlockTable).

Parameters:
  • text (str | RichText) – Text content of the cell.

  • header (bool, optional) – Pass True if the cell is a header cell (<th>).

  • align_center (bool, optional) – Pass True to center-align the cell content.

  • align_right (bool, optional) – Pass True to right-align the cell content.

  • valign_middle (bool, optional) – Pass True to middle-align the cell content vertically.

  • valign_bottom (bool, optional) – Pass True to bottom-align the cell content vertically.

  • colspan (int, optional) – Number of columns the cell spans.

  • rowspan (int, optional) – Number of rows the cell spans.