|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a photo to post as a story https://core.telegram.org/bots/api#inputstorycontentphoto. More...
#include <InputStoryContent.hpp>
Public Member Functions | |
| InputStoryContentPhoto () | |
| InputStoryContentPhoto (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::InputStoryContent | |
| InputStoryContent ()=default | |
| InputStoryContent (const nl::json &json) | |
| virtual | ~InputStoryContent ()=default |
Public Attributes | |
| std::string | photo |
| The photo to post as a story. Must be 1080x1920 and <= 10MB. Can't be reused. | |
Public Attributes inherited from tgbotxx::InputStoryContent | |
| std::string | type |
| Type of the story content. | |
Describes a photo to post as a story https://core.telegram.org/bots/api#inputstorycontentphoto.
Definition at line 36 of file InputStoryContent.hpp.
|
inline |
Definition at line 37 of file InputStoryContent.hpp.
|
inlineexplicit |
Definition at line 40 of file InputStoryContent.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::InputStoryContent.
Definition at line 56 of file InputStoryContent.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::InputStoryContent.
Definition at line 49 of file InputStoryContent.hpp.
| std::string tgbotxx::InputStoryContentPhoto::photo |
The photo to post as a story. Must be 1080x1920 and <= 10MB. Can't be reused.
Definition at line 45 of file InputStoryContent.hpp.