tgbot-cpp
Loading...
Searching...
No Matches
ChatMember.h
Go to the documentation of this file.
1#ifndef TGBOT_CHATMEMBER_H
2#define TGBOT_CHATMEMBER_H
3
4#include "tgbot/types/User.h"
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
19
20public:
21 typedef std::shared_ptr<ChatMember> Ptr;
22
24
25 virtual ~ChatMember() {}
26
30 std::string status;
31
36};
37}
38
39#endif //TGBOT_CHATMEMBER_H
This abstract class is base of all chat members.
Definition ChatMember.h:18
User::Ptr user
Information about the user.
Definition ChatMember.h:35
std::string status
The member's status in the chat.
Definition ChatMember.h:30
std::shared_ptr< ChatMember > Ptr
Definition ChatMember.h:21
virtual ~ChatMember()
Definition ChatMember.h:25
std::shared_ptr< User > Ptr
Definition User.h:18
Definition Api.h:39