I'm currently writing my menu. I may not be attentive. But I can’t find how to change the main message (title) in the inline menu?
We first create the menu:
if (msg.text == "/menu") {
String menu1 = F("Menu 1 \t Menu 2 \t Menu 3 \n Back");
String call1 = F("menu_1, menu_2, menu_3, back");
bot.inlineMenuCallback("Menu 0", menu1, call1);
menuID = bot.lastBotMsg(); // запомнили ID сообщения с меню
}
But I can't figure out how to change the text of "Menu 0"?
If I use the method to edit a message, will the menu continue to appear on the screen?
I'll check my guesses, I just want to know if I'm doing something wrong?
I'm currently writing my menu. I may not be attentive. But I can’t find how to change the main message (title) in the inline menu? We first create the menu:
Then we can change the menu items:
But I can't figure out how to change the text of "Menu 0"?
If I use the method to edit a message, will the menu continue to appear on the screen? I'll check my guesses, I just want to know if I'm doing something wrong?