|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The message was originally sent on behalf of a chat to a group chat. https://core.telegram.org/bots/api#messageoriginchat. More...
#include <MessageOrigin.hpp>
Public Member Functions | |
| MessageOriginChat () | |
| MessageOriginChat (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 > | senderChat |
| Chat that sent the message originally. | |
| std::string | authorSignature |
| Optional. For messages originally sent by an anonymous chat administrator, original message author signature. | |
The message was originally sent on behalf of a chat to a group chat. https://core.telegram.org/bots/api#messageoriginchat.
Definition at line 101 of file MessageOrigin.hpp.
|
inline |
Definition at line 102 of file MessageOrigin.hpp.
|
inlineexplicit |
Definition at line 105 of file MessageOrigin.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::MessageOrigin.
Definition at line 122 of file MessageOrigin.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::MessageOrigin.
Definition at line 115 of file MessageOrigin.hpp.
| std::string tgbotxx::MessageOriginChat::authorSignature |
Optional. For messages originally sent by an anonymous chat administrator, original message author signature.
Definition at line 113 of file MessageOrigin.hpp.
Chat that sent the message originally.
Definition at line 110 of file MessageOrigin.hpp.