|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a service message about the approval of a suggested post. https://core.telegram.org/bots/api#suggestedpostapproved. More...
#include <SuggestedPostApproved.hpp>
Public Member Functions | |
| SuggestedPostApproved ()=default | |
| SuggestedPostApproved (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 | |
| Ptr< Message > | suggestedPostMessage |
| Optional. Message containing the suggested post. | |
| Ptr< SuggestedPostPrice > | price |
| Optional. Amount paid for the post. | |
| std::time_t | sendDate {} |
| Date when the post will be published. | |
Describes a service message about the approval of a suggested post. https://core.telegram.org/bots/api#suggestedpostapproved.
Definition at line 10 of file SuggestedPostApproved.hpp.
|
default |
|
inlineexplicit |
Definition at line 12 of file SuggestedPostApproved.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 35 of file SuggestedPostApproved.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 27 of file SuggestedPostApproved.hpp.
| Ptr<SuggestedPostPrice> tgbotxx::SuggestedPostApproved::price |
Optional. Amount paid for the post.
Definition at line 20 of file SuggestedPostApproved.hpp.
| std::time_t tgbotxx::SuggestedPostApproved::sendDate {} |
Date when the post will be published.
Definition at line 23 of file SuggestedPostApproved.hpp.
Optional. Message containing the suggested post.
Definition at line 17 of file SuggestedPostApproved.hpp.