View Source ExTDLib.Method.OpenWebApp (ExTDLib v0.0.4)

Informs TDLib that a Web App is being opened from the attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button. For each bot, a confirmation alert about data sent to the bot must be shown once. Returns object_ptr<WebAppInfo>.

NameTypeDescription
chat_idstringIdentifier of the chat in which the Web App is opened. The Web App can't be opened in secret chats.
bot_user_idstringIdentifier of the bot, providing the Web App.
urlstringThe URL from an inlineKeyboardButtonTypeWebApp button, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an empty string otherwise.
themethemeParametersPreferred Web App theme; pass null to use the default theme.
application_namestringShort name of the application; 0-64 English letters, digits, and underscores.
message_thread_idstringIf not 0, a message thread identifier in which the message will be sent.
reply_toInputMessageReplyToInformation about the message or story to be replied in the message sent by the Web App; pass null if none.

More details on telegram's documentation.