|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The paid media is a video. https://core.telegram.org/bots/api#paidmediavideo. More...
#include <PaidMedia.hpp>
Public Member Functions | |
| PaidMediaVideo () | |
| PaidMediaVideo (const nl::json &json) | |
| nl::json | toJson () const override |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) override |
| Deserializes this object from JSON. | |
Public Member Functions inherited from tgbotxx::PaidMedia | |
| PaidMedia ()=default | |
| PaidMedia (const nl::json &json) | |
| virtual | ~PaidMedia ()=default |
Public Attributes | |
| Ptr< Video > | video |
| The video. | |
Public Attributes inherited from tgbotxx::PaidMedia | |
| std::string | type |
| Type of the paid media, one of "preview", "photo" or "video". | |
The paid media is a video. https://core.telegram.org/bots/api#paidmediavideo.
Definition at line 105 of file PaidMedia.hpp.
|
inline |
Definition at line 106 of file PaidMedia.hpp.
|
inlineexplicit |
Definition at line 109 of file PaidMedia.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::PaidMedia.
Definition at line 122 of file PaidMedia.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::PaidMedia.
Definition at line 116 of file PaidMedia.hpp.
The video.
Definition at line 114 of file PaidMedia.hpp.