From c8d40dccabaaa406faed6c0797a92bac811c9d0f Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 5 Jun 2018 19:07:27 +0300 Subject: Update docs --- docs/_chat_member_8h_source.html | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'docs/_chat_member_8h_source.html') diff --git a/docs/_chat_member_8h_source.html b/docs/_chat_member_8h_source.html index cad3e0e..2429a40 100644 --- a/docs/_chat_member_8h_source.html +++ b/docs/_chat_member_8h_source.html @@ -83,34 +83,34 @@ $(document).ready(function(){initNavTree('_chat_member_8h_source.html','');});
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 
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
bool canSendOtherMessages
Definition: ChatMember.h:97
- -
Definition: Api.h:46
- -
bool canAddWebPagePreviews
Definition: ChatMember.h:102
- - -
std::string status
Definition: ChatMember.h:32
-
bool canSendMediaMessages
Definition: ChatMember.h:92
-
User::Ptr user
Definition: ChatMember.h:27
- -
bool canPromoteMembers
Definition: ChatMember.h:82
- - -
bool canRestrictMembers
Definition: ChatMember.h:72
-
bool canDeleteMessages
Definition: ChatMember.h:62
+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 
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
bool canSendOtherMessages
Optional. Restricted only. True, if the user can send animations, games, stickers and use inline bots...
Definition: ChatMember.h:97
+
bool canPostMessages
Optional. Administrators only. True, if the administrator can post in the channel, channels only.
Definition: ChatMember.h:52
+
Definition: Api.h:47
+
bool canSendMessages
Optional. Restricted only. True, if the user can send text messages, contacts, locations and venues...
Definition: ChatMember.h:87
+
bool canAddWebPagePreviews
Optional. Restricted only. True, if user may add web page previews to his messages, implies can_send_media_messages.
Definition: ChatMember.h:102
+
bool canInviteUsers
Optional. Administrators only. True, if the administrator can invite new users to the chat...
Definition: ChatMember.h:67
+
This object contains information about one member of the chat.
Definition: ChatMember.h:20
+
std::string status
The member&#39;s status in the chat. Can be “creator”, “administrator”, “member”, “restricted”, “left” or “kicked”
Definition: ChatMember.h:32
+
bool canSendMediaMessages
Optional. Restricted only. True, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages.
Definition: ChatMember.h:92
+
User::Ptr user
Information about the user.
Definition: ChatMember.h:27
+
bool canEditMessages
Optional. Administrators only. True, if the administrator can edit messages of other users and can pi...
Definition: ChatMember.h:57
+
bool canPromoteMembers
Optional. Administrators only. True, if the administrator can add new administrators with a subset of...
Definition: ChatMember.h:82
+
bool canChangeInfo
Optional. Administrators only. True, if the administrator can change the chat title, photo and other settings.
Definition: ChatMember.h:47
+
bool canBeEdited
Optional. Administrators only. True, if the bot is allowed to edit administrator privileges of that u...
Definition: ChatMember.h:42
+
bool canRestrictMembers
Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members...
Definition: ChatMember.h:72
+
bool canDeleteMessages
Optional. Administrators only. True, if the administrator can delete messages of other users...
Definition: ChatMember.h:62
std::shared_ptr< ChatMember > Ptr
Definition: ChatMember.h:22
-
uint64_t untilDate
Definition: ChatMember.h:37
- -
std::shared_ptr< User > Ptr
Definition: User.h:38
+
uint64_t untilDate
Optional. Restricted and kicked only. Date when restrictions will be lifted for this user...
Definition: ChatMember.h:37
+
bool canPinMessages
Optional. Administrators only. True, if the administrator can pin messages, supergroups only...
Definition: ChatMember.h:77
+
std::shared_ptr< User > Ptr
Definition: User.h:39