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>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Identifier of the chat in which the Web App is opened. The Web App can't be opened in secret chats. |
| bot_user_id | string | Identifier of the bot, providing the Web App. |
| url | string | The URL from an inlineKeyboardButtonTypeWebApp button, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an empty string otherwise. |
| theme | themeParameters | Preferred Web App theme; pass null to use the default theme. |
| application_name | string | Short name of the application; 0-64 English letters, digits, and underscores. |
| message_thread_id | string | If not 0, a message thread identifier in which the message will be sent. |
| reply_to | InputMessageReplyTo | Information 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.