tgbotxx 1.2.9.2
Telegram Bot C++ Library
Loading...
Searching...
No Matches
tgbotxx::ChatMemberMember Struct Reference

Represents a chat member that has no additional privileges or restrictions. https://core.telegram.org/bots/api#chatmembermember. More...

#include <ChatMember.hpp>

Inheritance diagram for tgbotxx::ChatMemberMember:
tgbotxx::ChatMember

Public Member Functions

 ChatMemberMember ()
 
 ChatMemberMember (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 Member Functions inherited from tgbotxx::ChatMember
 ChatMember ()=default
 
 ChatMember (const nl::json &json)
 
virtual ~ChatMember ()=default
 

Additional Inherited Members

- Public Attributes inherited from tgbotxx::ChatMember
std::string status
 The member's status in the chat.
 
Ptr< Useruser
 Information about the user.
 

Detailed Description

Represents a chat member that has no additional privileges or restrictions. https://core.telegram.org/bots/api#chatmembermember.

Definition at line 192 of file ChatMember.hpp.

Constructor & Destructor Documentation

◆ ChatMemberMember() [1/2]

tgbotxx::ChatMemberMember::ChatMemberMember ( )
inline

Definition at line 193 of file ChatMember.hpp.

◆ ChatMemberMember() [2/2]

tgbotxx::ChatMemberMember::ChatMemberMember ( const nl::json &  json)
inlineexplicit

Definition at line 196 of file ChatMember.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::ChatMemberMember::fromJson ( const nl::json &  json)
inlineoverridevirtual

Deserializes this object from JSON.

Reimplemented from tgbotxx::ChatMember.

Definition at line 208 of file ChatMember.hpp.

◆ toJson()

nl::json tgbotxx::ChatMemberMember::toJson ( ) const
inlineoverridevirtual

Serializes this object to JSON.

Returns
JSON representation of this object

Reimplemented from tgbotxx::ChatMember.

Definition at line 202 of file ChatMember.hpp.


The documentation for this struct was generated from the following file: