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

A block with a general file, corresponding to the custom HTML tag <tg-document>. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockDocument>

Public Attributes

std::string type { TYPE }
 Type of the block, always “document”
std::shared_ptr< Document > document { }
 The document.
std::shared_ptr< RichBlockCaption > caption { }
 Optional. Caption of the block.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A block with a general file, corresponding to the custom HTML tag <tg-document>.

Definition at line 10953 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 10954 of file Types.h.

Member Data Documentation

◆ caption

std::shared_ptr<RichBlockCaption> TgBot::RichBlockDocument::caption { }

Optional. Caption of the block.

Definition at line 10969 of file Types.h.

◆ document

std::shared_ptr<Document> TgBot::RichBlockDocument::document { }

The document.

Definition at line 10965 of file Types.h.

◆ TYPE

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

Definition at line 10956 of file Types.h.

◆ type

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

Type of the block, always “document”

Definition at line 10961 of file Types.h.


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