From 157652cfdfd8116369eba36d27ece119b5d99891 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Sat, 28 Mar 2020 14:01:06 +0300 Subject: [PATCH] Fixe typo in edit_message_media (#1779) --- telegram/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram/bot.py b/telegram/bot.py index f7d3325ee..02b1818fa 100644 --- a/telegram/bot.py +++ b/telegram/bot.py @@ -1941,7 +1941,7 @@ class Bot(TelegramObject): if inline_message_id is None and (chat_id is None or message_id is None): raise ValueError( - 'edit_message_caption: Both chat_id and message_id are required when ' + 'edit_message_media: Both chat_id and message_id are required when ' 'inline_message_id is not specified') url = '{0}/editMessageMedia'.format(self.base_url)