answerCallbackQuery: fix copy/paste: show_alert -> url

This commit is contained in:
Noam Meltzer 2016-10-04 00:55:29 +03:00
parent 4180c069b3
commit 9b74625d4a

View file

@ -1076,7 +1076,7 @@ class Bot(TelegramObject):
if show_alert:
data['show_alert'] = show_alert
if url:
data['show_alert'] = url
data['url'] = url
result = self._request.post(url_, data, timeout=kwargs.get('timeout'))