tgbot-cpp
Loading...
Searching...
No Matches
TgBot::RichBlockTableCell Struct Reference

Cell in a table. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockTableCell>

Public Attributes

std::shared_ptr< RichText > text { }
 Optional. Text in the cell. If omitted, then the cell is invisible.
std::optional< bool > isHeader { }
 Optional. True, if the cell is a header cell.
std::optional< std::uint32_t > colspan { }
 Optional. The number of columns the cell spans if it is bigger than 1.
std::optional< std::uint32_t > rowspan { }
 Optional. The number of rows the cell spans if it is bigger than 1.
std::string align { }
 Horizontal cell content alignment. Currently, must be one of “left”, “center”, or “right”.
std::string valign { }
 Vertical cell content alignment. Currently, must be one of “top”, “middle”, or “bottom”.

Detailed Description

Cell in a table.

Definition at line 11764 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 11765 of file Types.h.

Member Data Documentation

◆ align

std::string TgBot::RichBlockTableCell::align { }

Horizontal cell content alignment. Currently, must be one of “left”, “center”, or “right”.

Definition at line 11787 of file Types.h.

◆ colspan

std::optional<std::uint32_t> TgBot::RichBlockTableCell::colspan { }

Optional. The number of columns the cell spans if it is bigger than 1.

Definition at line 11778 of file Types.h.

◆ isHeader

std::optional<bool> TgBot::RichBlockTableCell::isHeader { }

Optional. True, if the cell is a header cell.

Definition at line 11774 of file Types.h.

◆ rowspan

std::optional<std::uint32_t> TgBot::RichBlockTableCell::rowspan { }

Optional. The number of rows the cell spans if it is bigger than 1.

Definition at line 11782 of file Types.h.

◆ text

std::shared_ptr<RichText> TgBot::RichBlockTableCell::text { }

Optional. Text in the cell. If omitted, then the cell is invisible.

Definition at line 11770 of file Types.h.

◆ valign

std::string TgBot::RichBlockTableCell::valign { }

Vertical cell content alignment. Currently, must be one of “top”, “middle”, or “bottom”.

Definition at line 11791 of file Types.h.


The documentation for this struct was generated from the following file: