I came across an article on Habre Framework for creating bots for Telegram
Quote from the article
The menu item can be both object and function. If this is the object that the user will get a submenu, and if a function, it will be invoked and will allow us to process the user's request.
The submenu is, as I understand it, the object of the keyboard
, but that's about the function first read, because here the reference is not to inline_keyboard
. Someone can show example implementation? Or formed json?