# danog\MadelineProto\EventHandler\Message\Rich\Block\Table: A table.

[Back to index](../../../../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

A table.  



## Properties
* `$caption`: `?danog\MadelineProto\EventHandler\Message\Rich\RichText` Caption of the table
* `$cells`: `list<list<TableCell>>` Rows of cells of the table.
* `$bordered`: `bool` Whether the table has borders
* `$striped`: `bool` Whether the rows of the table are striped
* `$compact`: `bool` Whether the table is compact

## Method list:
* [`__construct(list<list<\danog\MadelineProto\EventHandler\Message\Rich\TableCell>> $cells, \danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null $caption = NULL, bool $bordered = false, bool $striped = false, bool $compact = false)`](#__construct)

## Methods:
### <a name="__construct"></a> `__construct(list<list<\danog\MadelineProto\EventHandler\Message\Rich\TableCell>> $cells, \danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null $caption = NULL, bool $bordered = false, bool $striped = false, bool $compact = false)`




Parameters:

* `$cells`: `list<list<\danog\MadelineProto\EventHandler\Message\Rich\TableCell>>` Rows of cells of the table  
* `$caption`: `\danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null`   
* `$bordered`: `bool`   
* `$striped`: `bool`   
* `$compact`: `bool`   


#### See also: 
* [`\danog\MadelineProto\EventHandler\Message\Rich\TableCell`: A cell of a table block of a rich message.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/TableCell.html)
* [`\danog\MadelineProto\EventHandler\Message\Rich\RichText`: Styled text of a [rich message](https://core.telegram.org/bots/api#richtext): a tree of plain texts, styles, links and so on.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/RichText.html)




---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
