|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The paid media to send is a photo. More...
#include <InputPaidMedia.hpp>
Public Member Functions | |
| InputPaidMediaPhoto () | |
| InputPaidMediaPhoto (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::InputPaidMedia | |
| InputPaidMedia ()=default | |
| InputPaidMedia (const nl::json &json) | |
| virtual | ~InputPaidMedia ()=default |
Additional Inherited Members | |
Public Attributes inherited from tgbotxx::InputPaidMedia | |
| std::string | type |
| Type of the media. | |
| std::variant< cpr::File, std::string > | media {""} |
| File to send. | |
The paid media to send is a photo.
Definition at line 55 of file InputPaidMedia.hpp.
|
inline |
Definition at line 56 of file InputPaidMedia.hpp.
|
inlineexplicit |
Definition at line 59 of file InputPaidMedia.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::InputPaidMedia.
Definition at line 69 of file InputPaidMedia.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::InputPaidMedia.
Definition at line 64 of file InputPaidMedia.hpp.