Closed AndryFM closed 7 years ago
return to prev lvl i did with wrapping menu in variable and calling it from No callback (if it right)
{
text: 'No!',
callback: () => {
$.runInlineMenu(menu)
}
}
but how close menu - question still actual ;)
I use this way:
{
text: 'Yes!',
callback: (callbackQuery, message) => {
$.api.editMessageText('new text', { chat_id: $.chatId, message_id: message.messageId })
}
},
if there exists a better way - tell me about it
How close InlineMenu? I tried use "oneTimeKeyboard: true," but its dont do anything
and how return back to previous menu lvl? (when im push "No" button - i want see "First Button Text" and "Exit")