Build an e commerce telegram web app bot telegram

Haley

Method answerWebAppQuery call request with type answerCallbackQuery

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 type answerCallbackQuery.
So the function answerWebAppQuery is not working.

Expected Behavior

Function answerWebAppQuery must send type answerWebAppQuery.

Example

Just replace it to answerWebAppQuery and all will works fine.

answerWebAppQuery(webAppQueryId, result, form = {}) {
    form.web_app_query_id = webAppQueryId;
    form.result = stringify(result);
    return this._request('answerWebAppQuery', { form });
  }

Ten articles before and after

How to Bulk Invite Members in your Telegram Group or Channel | by SoftwareReview | Best Software for PC & Mac | Medium – Telegram 繁体版 安装

4470 Hours to Days | Telegram Bot

18:30 Time | Conversion and Information | – Telegram 繁体版 下载

19:54 Time | Conversion and Information | – Telegram 繁体版 下载

What You Can Create with FFmpeg Filters and Frei0r Plugin Effects

Telegram机器人(TGbot)应用之 自动推送wordpress文章至tg群/频道(wp telegram插件) – – Telegram 简体版

2022 电报福利群/频道推荐,你想要的TG福利这里都有 | – Telegram 简体版

Automate Moderation for your Crypto Community on Telegram – Telegram 官网下载

Use telegram for custom notifications – Telegram 官网下载

8886 Hours to Days | Telegram Web

About Me

Pretium lorem primis senectus habitasse lectus donec ultricies tortor adipiscing fusce morbi volutpat pellentesque consectetur risus curae malesuada dignissim lacus convallis massa mauris.