|
tgbotxx 1.2.9.5
Telegram Bot C++ Library
|
Describes a service message about an ownership change in the chat. https://core.telegram.org/bots/api#chatownerchanged. More...
#include <ChatOwnerChanged.hpp>
Public Member Functions | |
| ChatOwnerChanged ()=default | |
| ChatOwnerChanged (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< User > | newOwner |
| The new owner of the chat. | |
Describes a service message about an ownership change in the chat. https://core.telegram.org/bots/api#chatownerchanged.
Definition at line 8 of file ChatOwnerChanged.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file ChatOwnerChanged.hpp.
Deserializes this object from JSON.
Definition at line 27 of file ChatOwnerChanged.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 20 of file ChatOwnerChanged.hpp.
The new owner of the chat.
Definition at line 15 of file ChatOwnerChanged.hpp.