mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-11 04:21:29 +01:00
Fix Bot.sendDocument
This commit is contained in:
parent
bef6651da0
commit
4c8d1c9a5e
1 changed files with 1 additions and 2 deletions
|
@ -463,7 +463,7 @@ class Bot(TelegramObject):
|
|||
if caption:
|
||||
data['caption'] = caption
|
||||
|
||||
self._message_wrapper(
|
||||
return self._message_wrapper(
|
||||
url,
|
||||
data,
|
||||
chat_id=chat_id,
|
||||
|
@ -475,7 +475,6 @@ class Bot(TelegramObject):
|
|||
reply_markup=reply_markup,
|
||||
timeout=timeout,
|
||||
**kwargs)
|
||||
return url, data
|
||||
|
||||
@log
|
||||
@message
|
||||
|
|
Loading…
Reference in a new issue