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

The paid media is a photo. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PaidMediaPhoto>

Public Attributes

std::string type { TYPE }
 Type of the paid media, always “photo”
std::vector< std::shared_ptr< PhotoSize > > photo { }
 The photo.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The paid media is a photo.

Definition at line 10226 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 10227 of file Types.h.

Member Data Documentation

◆ photo

std::vector<std::shared_ptr<PhotoSize> > TgBot::PaidMediaPhoto::photo { }

The photo.

Definition at line 10239 of file Types.h.

◆ TYPE

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

Definition at line 10229 of file Types.h.

◆ type

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

Type of the paid media, always “photo”

Definition at line 10234 of file Types.h.


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