mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 11:10:18 +03:00
Make edit_restriction plural
This commit is contained in:
parent
251e8227eb
commit
3c4aaf9b2b
|
@ -871,7 +871,7 @@ class ChatMethods(UserMethods):
|
|||
else:
|
||||
raise ValueError('You can only edit permissions in groups and channels')
|
||||
|
||||
async def edit_restriction(
|
||||
async def edit_restrictions(
|
||||
self: 'TelegramClient',
|
||||
entity: 'hints.EntityLike',
|
||||
user: 'typing.Optional[hints.EntityLike]' = None,
|
||||
|
|
Loading…
Reference in New Issue
Block a user