|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object describes a message that was deleted or is otherwise inaccessible to the bot. https://core.telegram.org/bots/api#inaccessiblemessage. More...
#include <InaccessibleMessage.hpp>
Public Member Functions | |
| InaccessibleMessage ()=default | |
| InaccessibleMessage (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< Chat > | chat |
| Chat the message belonged to. | |
| std::int32_t | messageId {} |
| Unique message identifier inside the chat. | |
| std::time_t | date {} |
| Always 0. The field can be used to differentiate regular and inaccessible messages. | |
This object describes a message that was deleted or is otherwise inaccessible to the bot. https://core.telegram.org/bots/api#inaccessiblemessage.
Definition at line 8 of file InaccessibleMessage.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file InaccessibleMessage.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 34 of file InaccessibleMessage.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 25 of file InaccessibleMessage.hpp.
Chat the message belonged to.
Definition at line 15 of file InaccessibleMessage.hpp.
| std::time_t tgbotxx::InaccessibleMessage::date {} |
Always 0. The field can be used to differentiate regular and inaccessible messages.
Definition at line 21 of file InaccessibleMessage.hpp.
| std::int32_t tgbotxx::InaccessibleMessage::messageId {} |
Unique message identifier inside the chat.
Definition at line 18 of file InaccessibleMessage.hpp.