peyk.platforms.telegram.types.rich_block_table

Classes

RichBlockTable([cells, is_compact])

A table, corresponding to the HTML tag .

class peyk.platforms.telegram.types.rich_block_table.RichBlockTable(cells: List[object] | None = None, is_compact: bool | None = None)[source]

Bases: object

A table, corresponding to the HTML tag .

Variables:
  • type – Type of the block, always ‘table’

  • cells (List[object] | None) – Cells of the table

  • is_bordered – True, if the table has borders

  • is_striped – True, if the table is striped

  • caption – Caption of the table

cells: List[object] | None = None
is_compact: bool | None = None
classmethod from_dict(data)[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.