-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Games push a popup with the link instead of a game view #418
Comments
They have changed the api. You have to provide a query_callback_id and a url only. The example uses the old library where you had to provide a text and a Boolean as well and that's why it doesn't work. |
We came up against this problem yesterday - ended up using a quick hack. (changing the 'text' parameter in telegram.js:1052 for 'url' in the legacy format, because this doesn't accounted for the older syntax which had an object further along the query to specify a url) But looking at that function you're supposed to give it an object instead of the three parameters like the old API/examples/code that you see online. So it'd be sending answerCallbackQuery(obj) instead of answerCallbackQuery(id, url). |
This has been fixed. Thanks. 😄 |
Maybe late but I have the same problem |
When i create a game bot and i start it , a popup show me the link of the game instead of opening a webview like other games
The text was updated successfully, but these errors were encountered: