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

Describes the paid media added to a message. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PaidMediaInfo>

Public Attributes

std::int32_t starCount { }
 The number of Telegram Stars that must be paid to buy access to the media.
std::vector< std::shared_ptr< PaidMedia > > paidMedia { }
 Information about the paid media.

Detailed Description

Describes the paid media added to a message.

Definition at line 10182 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 10183 of file Types.h.

Member Data Documentation

◆ paidMedia

std::vector<std::shared_ptr<PaidMedia> > TgBot::PaidMediaInfo::paidMedia { }

Information about the paid media.

Definition at line 10193 of file Types.h.

◆ starCount

std::int32_t TgBot::PaidMediaInfo::starCount { }

The number of Telegram Stars that must be paid to buy access to the media.

Definition at line 10188 of file Types.h.


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