mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Fix error with set_chat_permissions
I think it should work (I haven't tested it)
This commit is contained in:
parent
172d834e3c
commit
1e75f59f57
1 changed files with 1 additions and 1 deletions
|
|
@ -1132,7 +1132,7 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin):
|
|||
permissions = prepare_arg(permissions)
|
||||
payload = generate_payload(**locals())
|
||||
|
||||
result = await self.request(api.Methods.SET_CHAT_PERMISSIONS)
|
||||
result = await self.request(api.Methods.SET_CHAT_PERMISSIONS, payload)
|
||||
return result
|
||||
|
||||
async def export_chat_invite_link(self, chat_id: typing.Union[base.Integer, base.String]) -> base.String:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue