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

A table, corresponding to the HTML tag. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockTable>

Public Attributes

std::string type { TYPE }
 Type of the block, always “table”
std::vector< std::vector< std::shared_ptr< RichBlockTableCell > > > cells { }
 Cells of the table.
std::optional< bool > isBordered { }
 Optional. True, if the table has borders.
std::optional< bool > isStriped { }
 Optional. True, if the table is striped.
std::shared_ptr< RichTextcaption { }
 Optional. Caption of the table.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A table, corresponding to the HTML tag.

Definition at line 12219 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::RichBlockTable::Ptr = std::shared_ptr<RichBlockTable>

Definition at line 12220 of file Types.h.

Member Data Documentation

◆ caption

std::shared_ptr<RichText> TgBot::RichBlockTable::caption { }

Optional. Caption of the table.

Definition at line 12247 of file Types.h.

◆ cells

std::vector<std::vector<std::shared_ptr<RichBlockTableCell> > > TgBot::RichBlockTable::cells { }

Cells of the table.

Definition at line 12232 of file Types.h.

◆ isBordered

std::optional<bool> TgBot::RichBlockTable::isBordered { }

Optional. True, if the table has borders.

Definition at line 12237 of file Types.h.

◆ isStriped

std::optional<bool> TgBot::RichBlockTable::isStriped { }

Optional. True, if the table is striped.

Definition at line 12242 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::RichBlockTable::TYPE
static

Definition at line 12222 of file Types.h.

◆ type

std::string TgBot::RichBlockTable::type { TYPE }

Type of the block, always “table”

Definition at line 12227 of file Types.h.


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