From ce9bcf9d653a0598b41fcf52708d01b396c6fd30 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 27 May 2018 22:44:51 +0300 Subject: Update README.md and docs --- docs/class_tg_bot_1_1_chat_member.html | 278 ++++++++++++++++++++++++++++++++- 1 file changed, 272 insertions(+), 6 deletions(-) (limited to 'docs/class_tg_bot_1_1_chat_member.html') diff --git a/docs/class_tg_bot_1_1_chat_member.html b/docs/class_tg_bot_1_1_chat_member.html index e8d5bac..e722b3e 100644 --- a/docs/class_tg_bot_1_1_chat_member.html +++ b/docs/class_tg_bot_1_1_chat_member.html @@ -101,11 +101,39 @@ Public Attributes   std::string status   +uint64_t untilDate +  +bool canBeEdited = false +  +bool canChangeInfo = false +  +bool canPostMessages = false +  +bool canEditMessages = false +  +bool canDeleteMessages = false +  +bool canInviteUsers = false +  +bool canRestrictMembers = false +  +bool canPinMessages = false +  +bool canPromoteMembers = false +  +bool canSendMessages = false +  +bool canSendMediaMessages = false +  +bool canSendOtherMessages = false +  +bool canAddWebPagePreviews = false + 

Detailed Description

This object contains information about one member of the chat.

-

Definition at line 19 of file ChatMember.h.

+

Definition at line 20 of file ChatMember.h.

Member Typedef Documentation

◆ Ptr

@@ -119,11 +147,232 @@ Public Attributes
-

Definition at line 21 of file ChatMember.h.

+

Definition at line 22 of file ChatMember.h.

Member Data Documentation

+ +

◆ canAddWebPagePreviews

+ +
+
+ + + + +
bool TgBot::ChatMember::canAddWebPagePreviews = false
+
+

Optional. Restricted only. True, if user may add web page previews to his messages, implies can_send_media_messages.

+ +

Definition at line 102 of file ChatMember.h.

+ +
+
+ +

◆ canBeEdited

+ +
+
+ + + + +
bool TgBot::ChatMember::canBeEdited = false
+
+

Optional. Administrators only. True, if the bot is allowed to edit administrator privileges of that user.

+ +

Definition at line 42 of file ChatMember.h.

+ +
+
+ +

◆ canChangeInfo

+ +
+
+ + + + +
bool TgBot::ChatMember::canChangeInfo = false
+
+

Optional. Administrators only. True, if the administrator can change the chat title, photo and other settings.

+ +

Definition at line 47 of file ChatMember.h.

+ +
+
+ +

◆ canDeleteMessages

+ +
+
+ + + + +
bool TgBot::ChatMember::canDeleteMessages = false
+
+

Optional. Administrators only. True, if the administrator can delete messages of other users.

+ +

Definition at line 62 of file ChatMember.h.

+ +
+
+ +

◆ canEditMessages

+ +
+
+ + + + +
bool TgBot::ChatMember::canEditMessages = false
+
+

Optional. Administrators only. True, if the administrator can edit messages of other users and can pin messages, channels only.

+ +

Definition at line 57 of file ChatMember.h.

+ +
+
+ +

◆ canInviteUsers

+ +
+
+ + + + +
bool TgBot::ChatMember::canInviteUsers = false
+
+

Optional. Administrators only. True, if the administrator can invite new users to the chat.

+ +

Definition at line 67 of file ChatMember.h.

+ +
+
+ +

◆ canPinMessages

+ +
+
+ + + + +
bool TgBot::ChatMember::canPinMessages = false
+
+

Optional. Administrators only. True, if the administrator can pin messages, supergroups only.

+ +

Definition at line 77 of file ChatMember.h.

+ +
+
+ +

◆ canPostMessages

+ +
+
+ + + + +
bool TgBot::ChatMember::canPostMessages = false
+
+

Optional. Administrators only. True, if the administrator can post in the channel, channels only.

+ +

Definition at line 52 of file ChatMember.h.

+ +
+
+ +

◆ canPromoteMembers

+ +
+
+ + + + +
bool TgBot::ChatMember::canPromoteMembers = false
+
+

Optional. Administrators only. True, if the administrator can add new administrators with a subset of his own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by the user).

+ +

Definition at line 82 of file ChatMember.h.

+ +
+
+ +

◆ canRestrictMembers

+ +
+
+ + + + +
bool TgBot::ChatMember::canRestrictMembers = false
+
+

Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members.

+ +

Definition at line 72 of file ChatMember.h.

+ +
+
+ +

◆ canSendMediaMessages

+ +
+
+ + + + +
bool TgBot::ChatMember::canSendMediaMessages = false
+
+

Optional. Restricted only. True, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages.

+ +

Definition at line 92 of file ChatMember.h.

+ +
+
+ +

◆ canSendMessages

+ +
+
+ + + + +
bool TgBot::ChatMember::canSendMessages = false
+
+

Optional. Restricted only. True, if the user can send text messages, contacts, locations and venues.

+ +

Definition at line 87 of file ChatMember.h.

+ +
+
+ +

◆ canSendOtherMessages

+ +
+
+ + + + +
bool TgBot::ChatMember::canSendOtherMessages = false
+
+

Optional. Restricted only. True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages.

+ +

Definition at line 97 of file ChatMember.h.

+ +
+

◆ status

@@ -135,9 +384,26 @@ Public Attributes
-

The member's status in the chat. Can be “creator”, “administrator”, “member”, “left” or “kicked”

+

The member's status in the chat. Can be “creator”, “administrator”, “member”, “restricted”, “left” or “kicked”

+ +

Definition at line 32 of file ChatMember.h.

+ +
+ + +

◆ untilDate

+ +
+
+ + + + +
uint64_t TgBot::ChatMember::untilDate
+
+

Optional. Restricted and kicked only. Date when restrictions will be lifted for this user, unix time.

-

Definition at line 31 of file ChatMember.h.

+

Definition at line 37 of file ChatMember.h.

@@ -154,7 +420,7 @@ Public Attributes

Information about the user

-

Definition at line 26 of file ChatMember.h.

+

Definition at line 27 of file ChatMember.h.

@@ -167,7 +433,7 @@ Public Attributes