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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputRichBlockTable>

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. Pass True if the table has borders.
std::optional< bool > isStriped { }
 Optional. Pass 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 7767 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7768 of file Types.h.

Member Data Documentation

◆ caption

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

Optional. Caption of the table.

Definition at line 7795 of file Types.h.

◆ cells

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

Cells of the table.

Definition at line 7780 of file Types.h.

◆ isBordered

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

Optional. Pass True if the table has borders.

Definition at line 7785 of file Types.h.

◆ isStriped

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

Optional. Pass True if the table is striped.

Definition at line 7790 of file Types.h.

◆ TYPE

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

Definition at line 7770 of file Types.h.

◆ type

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

Type of the block, always “table”

Definition at line 7775 of file Types.h.


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