How to hide ReplyKeyboardMarkup after user click in Telegram Bot API

后端 未结 3 1885
野趣味
野趣味 2021-02-08 02:52

I am using Node.js telegram-bot-api.

Idea:

  1. Show a custom keyboard with one button - \"Share my phone number\".
  2. When user clicks this button, conta
3条回答
  •  南方客
    南方客 (楼主)
    2021-02-08 03:28

    You should use editMessageReplyMarkup and update that message's replyMarkup with null string('') after client user's click recieved.

    UPDATE this is applicable for inline keyboards.

提交回复
热议问题