mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-26 17:17:17 +01:00
Fixe typo in edit_message_media (#1779)
This commit is contained in:
parent
104d0127aa
commit
157652cfdf
1 changed files with 1 additions and 1 deletions
|
@ -1941,7 +1941,7 @@ class Bot(TelegramObject):
|
||||||
|
|
||||||
if inline_message_id is None and (chat_id is None or message_id is None):
|
if inline_message_id is None and (chat_id is None or message_id is None):
|
||||||
raise ValueError(
|
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')
|
'inline_message_id is not specified')
|
||||||
|
|
||||||
url = '{0}/editMessageMedia'.format(self.base_url)
|
url = '{0}/editMessageMedia'.format(self.base_url)
|
||||||
|
|
Loading…
Reference in a new issue