tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents a chat member that was banned in the chat and can't return to the chat or view chat messages. https://core.telegram.org/bots/api#chatmemberbanned. More...
#include <ChatMember.hpp>
Public Member Functions | |
ChatMemberBanned ()=default | |
ChatMemberBanned (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Member Functions inherited from tgbotxx::ChatMember | |
ChatMember ()=default | |
ChatMember (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::time_t | untilDate {} |
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever. More... | |
Public Attributes inherited from tgbotxx::ChatMember | |
std::string | status |
The member's status in the chat. More... | |
Ptr< User > | user |
Information about the user. More... | |
Represents a chat member that was banned in the chat and can't return to the chat or view chat messages. https://core.telegram.org/bots/api#chatmemberbanned.
Definition at line 314 of file ChatMember.hpp.
|
default |
|
inlineexplicit |
Definition at line 316 of file ChatMember.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 332 of file ChatMember.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 325 of file ChatMember.hpp.
std::time_t tgbotxx::ChatMemberBanned::untilDate {} |
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever.
Definition at line 321 of file ChatMember.hpp.