|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes the paid media added to a message. https://core.telegram.org/bots/api#paidmediainfo. More...
#include <PaidMediaInfo.hpp>
Public Member Functions | |
| PaidMediaInfo ()=default | |
| PaidMediaInfo (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::int64_t | starCount {} |
| The number of Telegram Stars that must be paid to buy access to the media. | |
| std::vector< Ptr< PaidMedia > > | paidMedia |
| Information about the paid media. | |
Describes the paid media added to a message. https://core.telegram.org/bots/api#paidmediainfo.
Definition at line 8 of file PaidMediaInfo.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file PaidMediaInfo.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 31 of file PaidMediaInfo.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 23 of file PaidMediaInfo.hpp.
Information about the paid media.
Definition at line 18 of file PaidMediaInfo.hpp.
| std::int64_t tgbotxx::PaidMediaInfo::starCount {} |
The number of Telegram Stars that must be paid to buy access to the media.
Definition at line 15 of file PaidMediaInfo.hpp.