Closed JrAnTran closed 4 months ago
in an attempt to openWebApp via hit inlinekeyboadbutton simualtion, I call openWebApp, but its returns "Bot not found". While in the Telegram app, opening the web app is okay with hitting inline button
While in the Telegram app, opening the web app is okay with hitting inline button
You can't pass hardcoded identifiers to TDLib. You can only pass identifiers received from TDLib as function parameters.
You can't pass hardcoded identifiers to TDLib. You can only pass identifiers received from TDLib as function parameters.
@levlam
chatId, botUserid...received from a message containing replyMarkup of the bot
Tell me is there another way to call OpenWebApp?
@levlam all in all, could you please tell me how to simulate an InlineKeyboardButton hit from a Telegram client app using tdlib..
Many thanks.
It depends on the type of the keyboard button and is described in the description of the corresponding class.
It depends on the type of the keyboard button and is described in the description of the corresponding class.
I have done it already. Thanks
@aurimasniekis @kossnocorp I need to simulate InlineKeyboardButton hit from my app. Digging around the internet, there is a few of things related such as GetBotCallbackAnswerRequest...
Could you please help clarify this. Many thanks.