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< RichTexttext { }
 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::int32_t > colspan { }
 Optional. The number of columns the cell spans if it is bigger than 1.
std::optional< std::int32_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 12257 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12258 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 12284 of file Types.h.

◆ colspan

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

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

Definition at line 12273 of file Types.h.

◆ isHeader

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

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

Definition at line 12268 of file Types.h.

◆ rowspan

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

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

Definition at line 12278 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 12263 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 12289 of file Types.h.


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