|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The message was originally sent to a channel chat. https://core.telegram.org/bots/api#messageoriginchannel. More...
#include <MessageOrigin.hpp>
Public Member Functions | |
| MessageOriginChannel () | |
| MessageOriginChannel (const nl::json &json) | |
| nl::json | toJson () const override |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) override |
| Deserializes this object from JSON. | |
Public Attributes | |
| Ptr< Chat > | chat |
| Channel chat to which the message was originally sent. | |
| std::int32_t | messageId {} |
| Unique message identifier inside the chat. | |
| std::string | authorSignature |
| Optional. Signature of the original post author. | |
The message was originally sent to a channel chat. https://core.telegram.org/bots/api#messageoriginchannel.
Definition at line 131 of file MessageOrigin.hpp.
|
inline |
Definition at line 132 of file MessageOrigin.hpp.
|
inlineexplicit |
Definition at line 135 of file MessageOrigin.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::MessageOrigin.
Definition at line 156 of file MessageOrigin.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::MessageOrigin.
Definition at line 148 of file MessageOrigin.hpp.
| std::string tgbotxx::MessageOriginChannel::authorSignature |
Optional. Signature of the original post author.
Definition at line 146 of file MessageOrigin.hpp.
Channel chat to which the message was originally sent.
Definition at line 140 of file MessageOrigin.hpp.
| std::int32_t tgbotxx::MessageOriginChannel::messageId {} |
Unique message identifier inside the chat.
Definition at line 143 of file MessageOrigin.hpp.