tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents a chat member that owns the chat and has all administrator privileges. https://core.telegram.org/bots/api#chatmemberowner. More...
#include <ChatMember.hpp>
Public Member Functions | |
ChatMemberOwner ()=default | |
ChatMemberOwner (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 | |
bool | isAnonymous {} |
True, if the user's presence in the chat is hidden. More... | |
std::string | customTitle |
Optional. Custom title for this user. 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 owns the chat and has all administrator privileges. https://core.telegram.org/bots/api#chatmemberowner.
Definition at line 45 of file ChatMember.hpp.
|
default |
|
inlineexplicit |
Definition at line 47 of file ChatMember.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 68 of file ChatMember.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 60 of file ChatMember.hpp.
std::string tgbotxx::ChatMemberOwner::customTitle |
Optional. Custom title for this user.
Definition at line 56 of file ChatMember.hpp.
bool tgbotxx::ChatMemberOwner::isAnonymous {} |
True, if the user's presence in the chat is hidden.
Definition at line 53 of file ChatMember.hpp.