|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object represents a unique message identifier. https://core.telegram.org/bots/api#messageid. More...
#include <MessageId.hpp>
Public Member Functions | |
| MessageId ()=default | |
| MessageId (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 | |
| std::int32_t | messageId {} |
| Unique message identifier. In specific instances (e.g., message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent. | |
This object represents a unique message identifier. https://core.telegram.org/bots/api#messageid.
Definition at line 7 of file MessageId.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file MessageId.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 27 of file MessageId.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 20 of file MessageId.hpp.
| std::int32_t tgbotxx::MessageId::messageId {} |
Unique message identifier. In specific instances (e.g., message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent.
Definition at line 16 of file MessageId.hpp.