tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ChatMember Class Reference

This abstract class is base of all chat members. More...

#include <ChatMember.h>

Inheritance diagram for TgBot::ChatMember:
TgBot::ChatMemberAdministrator TgBot::ChatMemberBanned TgBot::ChatMemberLeft TgBot::ChatMemberMember TgBot::ChatMemberOwner TgBot::ChatMemberRestricted

Public Types

typedef std::shared_ptr< ChatMemberPtr
 

Public Member Functions

 ChatMember ()
 
virtual ~ChatMember ()
 

Public Attributes

std::string status
 The member's status in the chat.
 
User::Ptr user
 Information about the user.
 

Detailed Description

This abstract class is base of all chat members.

This object contains information about one member of a chat.

Definition at line 18 of file ChatMember.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<ChatMember> TgBot::ChatMember::Ptr

Definition at line 21 of file ChatMember.h.

Constructor & Destructor Documentation

◆ ChatMember()

TgBot::ChatMember::ChatMember ( )
inline

Definition at line 23 of file ChatMember.h.

◆ ~ChatMember()

virtual TgBot::ChatMember::~ChatMember ( )
inlinevirtual

Definition at line 25 of file ChatMember.h.

Member Data Documentation

◆ status

std::string TgBot::ChatMember::status

The member's status in the chat.

Definition at line 30 of file ChatMember.h.

◆ user

User::Ptr TgBot::ChatMember::user

Information about the user.

Definition at line 35 of file ChatMember.h.


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