Currently I have a bot that allows users to enter commands in a group chat, in which some of these commands are confirmed with the user who wrote the command by a private message. I wish to show a yes / no menu so that user can respond to the PM to confirm the command.
I can send a PM message using the user's ID. There is $.runMenu, but the API this._api does not provide runMenu. I was looking at ReplyKeyboardMarkup and KeyboardButton but they are not exposed to the developer.
Currently I have a bot that allows users to enter commands in a group chat, in which some of these commands are confirmed with the user who wrote the command by a private message. I wish to show a yes / no menu so that user can respond to the PM to confirm the command.
I can send a PM message using the user's ID. There is
$.runMenu
, but the APIthis._api
does not providerunMenu
. I was looking atReplyKeyboardMarkup
andKeyboardButton
but they are not exposed to the developer.