tgbot-cpp
Loading...
Searching...
No Matches
ChatMemberOwner.h
Go to the documentation of this file.
1#ifndef TGBOT_CHATMEMBEROWNER_H
2#define TGBOT_CHATMEMBEROWNER_H
3
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
17public:
18 static const std::string STATUS;
19
20 typedef std::shared_ptr<ChatMemberOwner> Ptr;
21
23 this->status = STATUS;
24 }
25
29 std::string customTitle;
30
35};
36}
37
38#endif //TGBOT_CHATMEMBEROWNER_H
This abstract class is base of all chat members.
Definition ChatMember.h:18
std::string status
The member's status in the chat.
Definition ChatMember.h:30
Represents a chat member that owns the chat and has all administrator privileges.
bool isAnonymous
True, if the user's presence in the chat is hidden.
static const std::string STATUS
std::shared_ptr< ChatMemberOwner > Ptr
std::string customTitle
Custom title for this user.
Definition Api.h:39