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

A block with a photo, corresponding to the HTML tag. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputRichBlockPhoto>

Public Attributes

std::string type { TYPE }
 Type of the block, always “photo”
std::shared_ptr< InputMediaPhotophoto { }
 The photo. Caption is ignored.
std::shared_ptr< RichBlockCaptioncaption { }
 Optional. Caption of the block.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A block with a photo, corresponding to the HTML tag.

.

Definition at line 7627 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7628 of file Types.h.

Member Data Documentation

◆ caption

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

Optional. Caption of the block.

Definition at line 7645 of file Types.h.

◆ photo

std::shared_ptr<InputMediaPhoto> TgBot::InputRichBlockPhoto::photo { }

The photo. Caption is ignored.

Definition at line 7640 of file Types.h.

◆ TYPE

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

Definition at line 7630 of file Types.h.

◆ type

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

Type of the block, always “photo”

Definition at line 7635 of file Types.h.


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