tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputRichBlockDocument 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<InputRichBlockDocument>

Public Attributes

std::string type { TYPE }
 Type of the block, always “document”
std::shared_ptr< InputMediaDocument > document { }
 The document. Caption is ignored.
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 6816 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6817 of file Types.h.

Member Data Documentation

◆ caption

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

Optional. Caption of the block.

Definition at line 6832 of file Types.h.

◆ document

std::shared_ptr<InputMediaDocument> TgBot::InputRichBlockDocument::document { }

The document. Caption is ignored.

Definition at line 6828 of file Types.h.

◆ TYPE

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

Definition at line 6819 of file Types.h.

◆ type

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

Type of the block, always “document”

Definition at line 6824 of file Types.h.


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