|
tgbotxx 1.2.9.5
Telegram Bot C++ Library
|
Describes a service message about the chat owner leaving the chat. https://core.telegram.org/bots/api#chatownerleft. More...
#include <ChatOwnerLeft.hpp>
Public Member Functions | |
| ChatOwnerLeft ()=default | |
| ChatOwnerLeft (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 |
| Optional. The user which will be the new owner of the chat if the previous owner does not return to the chat. | |
Describes a service message about the chat owner leaving the chat. https://core.telegram.org/bots/api#chatownerleft.
Definition at line 8 of file ChatOwnerLeft.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file ChatOwnerLeft.hpp.
Deserializes this object from JSON.
Definition at line 27 of file ChatOwnerLeft.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 20 of file ChatOwnerLeft.hpp.
Optional. The user which will be the new owner of the chat if the previous owner does not return to the chat.
Definition at line 15 of file ChatOwnerLeft.hpp.