Change manage_call permission to default to None (#3093)

This commit is contained in:
MiyukiKun 2021-07-03 01:12:57 +05:30 committed by GitHub
parent 42bfc7bb3f
commit 249670827c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -829,7 +829,7 @@ class ChatMethods:
invite_users: bool = None, invite_users: bool = None,
pin_messages: bool = None, pin_messages: bool = None,
add_admins: bool = None, add_admins: bool = None,
manage_call: bool = True, manage_call: bool = None,
anonymous: bool = None, anonymous: bool = None,
is_admin: bool = None, is_admin: bool = None,
title: str = None) -> types.Updates: title: str = None) -> types.Updates:

View File

@ -129,3 +129,7 @@ class ParticipantPermissions:
anonymous = property(**_admin_prop('anonymous', """ anonymous = property(**_admin_prop('anonymous', """
Whether the administrator will remain anonymous when sending messages. Whether the administrator will remain anonymous when sending messages.
""")) """))
manage_call = property(**_admin_prop('manage_call', """
Whether the user will be able to manage group calls.
"""))