Fixe typo in edit_message_media (#1779)

This commit is contained in:
Aleksey 2020-03-28 14:01:06 +03:00 committed by GitHub
parent 104d0127aa
commit 157652cfdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)