From 88fa03b1d29bf7a68cf98d3ead601024e2b329ea Mon Sep 17 00:00:00 2001 From: Lonami Date: Mon, 31 May 2021 15:35:52 +0200 Subject: [PATCH] Update telethon/client/messages.py --- telethon/client/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/messages.py b/telethon/client/messages.py index 7b7592a6..7275233c 100644 --- a/telethon/client/messages.py +++ b/telethon/client/messages.py @@ -771,7 +771,7 @@ class MessageMethods: if file is not None: return await self.send_file( entity, file, caption=message, reply_to=reply_to, - attributes=attributes,parse_mode=parse_mode, + attributes=attributes, parse_mode=parse_mode, force_document=force_document, buttons=buttons, clear_draft=clear_draft, silent=silent, schedule=schedule, supports_streaming=supports_streaming,