mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bad arguments
This commit is contained in:
parent
f9b9b1d932
commit
afb73fdb5c
2 changed files with 2 additions and 2 deletions
|
|
@ -399,7 +399,7 @@ class Bot(BaseBot):
|
|||
files = {}
|
||||
prepare_file(payload, files, 'document', document)
|
||||
|
||||
result = await self.request(api.Methods.SEND_DOCUMENT, payload, document)
|
||||
result = await self.request(api.Methods.SEND_DOCUMENT, payload, files)
|
||||
return types.Message(**result)
|
||||
|
||||
async def send_video(self, chat_id: typing.Union[base.Integer, base.String],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue