weixin_39765588
2020-11-20 11:18 阅读 2

How to reply to a inline button

Hi,

I can't understand how to reply to a inline button, making the spinner disappear. In the previous version, I did it with tg.answerCallbackQuery($.id)

该提问来源于开源项目:Naltox/telegram-node-bot

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

8条回答 默认 最新

  • weixin_39631007 weixin_39631007 2020-11-20 11:18

    Following

    点赞 评论 复制链接分享
  • weixin_39593460 weixin_39593460 2020-11-20 11:18

    You can use answerCallbackQuery method in api for that:

     js
    tg.api.answerCallbackQuery(callbackId, options)
    
    点赞 评论 复制链接分享
  • weixin_39716877 weixin_39716877 2020-11-20 11:18

    following

    点赞 评论 复制链接分享
  • weixin_39765588 weixin_39765588 2020-11-20 11:18

    What is callbackId?

    点赞 评论 复制链接分享
  • weixin_39631007 weixin_39631007 2020-11-20 11:18

    Unique identifier for the query to be answered

    点赞 评论 复制链接分享
  • weixin_39765588 weixin_39765588 2020-11-20 11:18

    try callbackQuery.id, it works for me.

    点赞 评论 复制链接分享
  • weixin_39631007 weixin_39631007 2020-11-20 11:18

    Worked like a charm!

    点赞 评论 复制链接分享
  • weixin_39634997 weixin_39634997 2020-11-20 11:18

    Thanks very cool

    点赞 评论 复制链接分享

相关推荐