[docs]classRichBlockTable(RichBlock):""" A table, corresponding to the HTML tag :code:`<table>`. Source: https://core.telegram.org/bots/api#richblocktable """type:Literal[RichBlockType.TABLE]=RichBlockType.TABLE"""Type of the block, always 'table'"""cells:list[list[RichBlockTableCell]]"""Cells of the table"""is_bordered:bool|None=None"""*Optional*. :code:`True`, if the table has borders"""is_striped:bool|None=None"""*Optional*. :code:`True`, if the table is striped"""caption:RichTextUnion|None=None"""*Optional*. Caption of the table"""is_compact:bool|None=None"""*Optional*. :code:`True`, if table cells have smaller indents"""ifTYPE_CHECKING:# DO NOT EDIT MANUALLY!!!# This section was auto-generated via `butcher`def__init__(__pydantic__self__,*,type:Literal[RichBlockType.TABLE]=RichBlockType.TABLE,cells:list[list[RichBlockTableCell]],is_bordered:bool|None=None,is_striped:bool|None=None,caption:RichTextUnion|None=None,is_compact:bool|None=None,**__pydantic_kwargs:Any,)->None:# DO NOT EDIT MANUALLY!!!# This method was auto-generated via `butcher`# Is needed only for type checking and IDE support without any additional pluginssuper().__init__(type=type,cells=cells,is_bordered=is_bordered,is_striped=is_striped,caption=caption,is_compact=is_compact,**__pydantic_kwargs,)