|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a service message about the rejection of a suggested post. https://core.telegram.org/bots/api#suggestedpostdeclined. More...
#include <SuggestedPostDeclined.hpp>
Public Member Functions | |
| SuggestedPostDeclined ()=default | |
| SuggestedPostDeclined (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. | |
| std::string | comment |
| Optional. Comment with which the post was declined. | |
Describes a service message about the rejection of a suggested post. https://core.telegram.org/bots/api#suggestedpostdeclined.
Definition at line 8 of file SuggestedPostDeclined.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file SuggestedPostDeclined.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 30 of file SuggestedPostDeclined.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 23 of file SuggestedPostDeclined.hpp.
| std::string tgbotxx::SuggestedPostDeclined::comment |
Optional. Comment with which the post was declined.
Definition at line 18 of file SuggestedPostDeclined.hpp.
Optional. Message containing the suggested post.
Definition at line 15 of file SuggestedPostDeclined.hpp.