Closed r1ddev closed 2 years ago
any updates? answerWebAppQuery api doesn't work cause of this problem
The answer to the problem described looks to be noted above. Problem: "Function answerWebAppQuery must send type answerWebAppQuery." but function (telegram.js:1482) actually requested type answerCallbackQuery Solution: "Just replace it to answerWebAppQuery and all will works fine."
Fix in the new version v0.58.0
Actual Behavior
answerWebAppQuery
function not works propertly, telegram send error: "400 Bad Request: query is too old and response timeout expired or query ID is invalid". In answerWebAppQuery function (telegram.js:1482) actually requested typeanswerCallbackQuery
. So the functionanswerWebAppQuery
is not working.Expected Behavior
Function
answerWebAppQuery
must send typeanswerWebAppQuery
.Example
Just replace it to
answerWebAppQuery
and all will works fine.