tgbot-cpp
ChatMember.h
Go to the documentation of this file.
1
//
2
// Created by Konstantin Kukin on 26/12/16.
3
// Edit by JellyBrick on 27/05/18.
4
//
5
6
#ifndef TGBOT_CHATMEMBER_H
7
#define TGBOT_CHATMEMBER_H
8
9
#include <memory>
10
#include <string>
11
12
#include "
tgbot/types/User.h
"
13
14
namespace
TgBot
{
15
20
class
ChatMember
{
21
public
:
22
typedef
std::shared_ptr<ChatMember>
Ptr
;
23
27
User::Ptr
user
;
28
32
std::string
status
;
33
37
uint64_t
untilDate
;
38
42
bool
canBeEdited
=
false
;
43
47
bool
canChangeInfo
=
false
;
48
52
bool
canPostMessages
=
false
;
53
57
bool
canEditMessages
=
false
;
58
62
bool
canDeleteMessages
=
false
;
63
67
bool
canInviteUsers
=
false
;
68
72
bool
canRestrictMembers
=
false
;
73
77
bool
canPinMessages
=
false
;
78
82
bool
canPromoteMembers
=
false
;
83
87
bool
canSendMessages
=
false
;
88
92
bool
canSendMediaMessages
=
false
;
93
97
bool
canSendOtherMessages
=
false
;
98
102
bool
canAddWebPagePreviews
=
false
;
103
};
104
}
105
106
#endif //TGBOT_CHATMEMBER_H
TgBot::ChatMember::canSendOtherMessages
bool canSendOtherMessages
Definition:
ChatMember.h:97
TgBot::ChatMember::canPostMessages
bool canPostMessages
Definition:
ChatMember.h:52
TgBot
Definition:
Api.h:46
TgBot::ChatMember::canSendMessages
bool canSendMessages
Definition:
ChatMember.h:87
TgBot::ChatMember::canAddWebPagePreviews
bool canAddWebPagePreviews
Definition:
ChatMember.h:102
TgBot::ChatMember::canInviteUsers
bool canInviteUsers
Definition:
ChatMember.h:67
TgBot::ChatMember
Definition:
ChatMember.h:20
TgBot::ChatMember::status
std::string status
Definition:
ChatMember.h:32
TgBot::ChatMember::canSendMediaMessages
bool canSendMediaMessages
Definition:
ChatMember.h:92
TgBot::ChatMember::user
User::Ptr user
Definition:
ChatMember.h:27
TgBot::ChatMember::canEditMessages
bool canEditMessages
Definition:
ChatMember.h:57
TgBot::ChatMember::canPromoteMembers
bool canPromoteMembers
Definition:
ChatMember.h:82
TgBot::ChatMember::canChangeInfo
bool canChangeInfo
Definition:
ChatMember.h:47
TgBot::ChatMember::canBeEdited
bool canBeEdited
Definition:
ChatMember.h:42
TgBot::ChatMember::canRestrictMembers
bool canRestrictMembers
Definition:
ChatMember.h:72
TgBot::ChatMember::canDeleteMessages
bool canDeleteMessages
Definition:
ChatMember.h:62
User.h
TgBot::ChatMember::Ptr
std::shared_ptr< ChatMember > Ptr
Definition:
ChatMember.h:22
TgBot::ChatMember::untilDate
uint64_t untilDate
Definition:
ChatMember.h:37
TgBot::ChatMember::canPinMessages
bool canPinMessages
Definition:
ChatMember.h:77
TgBot::User::Ptr
std::shared_ptr< User > Ptr
Definition:
User.h:38
include
tgbot
types
ChatMember.h
Generated on Mon May 28 2018 13:57:32 for tgbot-cpp by
1.8.13