Presently, the code utilizes InlineKeyboardButton.webAppInfo instead of InlineKeyboardButton.webApp. Consequently, when used, it throws the following exception:
TelegramException [400]: (Bad Request: can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard)
Presently, the code utilizes
InlineKeyboardButton.webAppInfo
instead ofInlineKeyboardButton.webApp
. Consequently, when used, it throws the following exception: