|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a service message about the failed approval of a suggested post. https://core.telegram.org/bots/api#suggestedpostapprovalfailed. More...
#include <SuggestedPostApprovalFailed.hpp>
Public Member Functions | |
| SuggestedPostApprovalFailed ()=default | |
| SuggestedPostApprovalFailed (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 whose approval has failed. | |
| Ptr< SuggestedPostPrice > | price |
| Expected price of the post. | |
Describes a service message about the failed approval of a suggested post. https://core.telegram.org/bots/api#suggestedpostapprovalfailed.
Definition at line 9 of file SuggestedPostApprovalFailed.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file SuggestedPostApprovalFailed.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 31 of file SuggestedPostApprovalFailed.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 24 of file SuggestedPostApprovalFailed.hpp.
| Ptr<SuggestedPostPrice> tgbotxx::SuggestedPostApprovalFailed::price |
Expected price of the post.
Definition at line 19 of file SuggestedPostApprovalFailed.hpp.
Optional. Message containing the suggested post whose approval has failed.
Definition at line 16 of file SuggestedPostApprovalFailed.hpp.