You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: telebot/types.py
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3408,6 +3408,9 @@ class ChatMemberAdministrator(ChatMember):
3408
3408
:param can_manage_topics: Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
3409
3409
:type can_manage_topics: :obj:`bool`
3410
3410
3411
+
:param can_manage_direct_messages: Optional. True, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only
3412
+
:type can_manage_direct_messages: :obj:`bool`
3413
+
3411
3414
:param custom_title: Optional. Custom title for this user
3412
3415
:type custom_title: :obj:`str`
3413
3416
@@ -3417,7 +3420,7 @@ class ChatMemberAdministrator(ChatMember):
@@ -7903,6 +7907,9 @@ class ChatAdministratorRights(JsonDeserializable, JsonSerializable, Dictionaryab
7903
7907
:param can_delete_stories: Optional. True, if the administrator can delete stories of other users
7904
7908
:type can_delete_stories: :obj:`bool`
7905
7909
7910
+
:param can_manage_direct_messages: Optional. True, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only
0 commit comments