Skip to content

Commit 9b74625

Browse files
committed
answerCallbackQuery: fix copy/paste: show_alert -> url
1 parent 4180c06 commit 9b74625

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

telegram/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ def answerCallbackQuery(self,
10761076
if show_alert:
10771077
data['show_alert'] = show_alert
10781078
if url:
1079-
data['show_alert'] = url
1079+
data['url'] = url
10801080

10811081
result = self._request.post(url_, data, timeout=kwargs.get('timeout'))
10821082

0 commit comments

Comments
 (0)