6 #ifndef TGBOT_CHATMEMBER_H 7 #define TGBOT_CHATMEMBER_H 22 typedef std::shared_ptr<ChatMember>
Ptr;
106 #endif //TGBOT_CHATMEMBER_H bool canSendOtherMessages
Optional. Restricted only. True, if the user can send animations, games, stickers and use inline bots...
bool canPostMessages
Optional. Administrators only. True, if the administrator can post in the channel, channels only.
bool canSendMessages
Optional. Restricted only. True, if the user can send text messages, contacts, locations and venues...
bool canAddWebPagePreviews
Optional. Restricted only. True, if user may add web page previews to his messages, implies can_send_media_messages.
bool canInviteUsers
Optional. Administrators only. True, if the administrator can invite new users to the chat...
This object contains information about one member of the chat.
std::string status
The member's status in the chat. Can be “creator”, “administrator”, “member”, “restricted”, “left” or “kicked”
bool canSendMediaMessages
Optional. Restricted only. True, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages.
User::Ptr user
Information about the user.
bool canEditMessages
Optional. Administrators only. True, if the administrator can edit messages of other users and can pi...
bool canPromoteMembers
Optional. Administrators only. True, if the administrator can add new administrators with a subset of...
bool canChangeInfo
Optional. Administrators only. True, if the administrator can change the chat title, photo and other settings.
bool canBeEdited
Optional. Administrators only. True, if the bot is allowed to edit administrator privileges of that u...
bool canRestrictMembers
Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members...
bool canDeleteMessages
Optional. Administrators only. True, if the administrator can delete messages of other users...
std::shared_ptr< ChatMember > Ptr
uint64_t untilDate
Optional. Restricted and kicked only. Date when restrictions will be lifted for this user...
bool canPinMessages
Optional. Administrators only. True, if the administrator can pin messages, supergroups only...
std::shared_ptr< User > Ptr