@@ -32,7 +32,7 @@ class ChatPrivileges(Object):
3232 can_delete_messages (``bool``, *optional*):
3333 True, if the administrator can delete messages of other users.
3434
35- can_manage_voice_chats (``bool``, *optional*):
35+ can_manage_video_chats (``bool``, *optional*):
3636 Groups and supergroups only.
3737 True, if the administrator can manage voice chats (also called group calls).
3838
@@ -71,7 +71,7 @@ def __init__(
7171 * ,
7272 can_manage_chat : bool = True ,
7373 can_delete_messages : bool = False ,
74- can_manage_voice_chats : bool = False , # Groups and supergroups only
74+ can_manage_video_chats : bool = False , # Groups and supergroups only
7575 can_restrict_members : bool = False ,
7676 can_promote_members : bool = False ,
7777 can_change_info : bool = False ,
@@ -85,7 +85,7 @@ def __init__(
8585
8686 self .can_manage_chat : bool = can_manage_chat
8787 self .can_delete_messages : bool = can_delete_messages
88- self .can_manage_voice_chats : bool = can_manage_voice_chats
88+ self .can_manage_video_chats : bool = can_manage_video_chats
8989 self .can_restrict_members : bool = can_restrict_members
9090 self .can_promote_members : bool = can_promote_members
9191 self .can_change_info : bool = can_change_info
@@ -100,7 +100,7 @@ def _parse(admin_rights: "raw.base.ChatAdminRights") -> "ChatPrivileges":
100100 return ChatPrivileges (
101101 can_manage_chat = admin_rights .other ,
102102 can_delete_messages = admin_rights .delete_messages ,
103- can_manage_voice_chats = admin_rights .manage_call ,
103+ can_manage_video_chats = admin_rights .manage_call ,
104104 can_restrict_members = admin_rights .ban_users ,
105105 can_promote_members = admin_rights .add_admins ,
106106 can_change_info = admin_rights .change_info ,
0 commit comments