keyboardButtonSimpleWebView

Button to open a bot mini app using messages.requestSimpleWebView, without sending user information to the web app.

Can only be sent or received as part of a reply keyboard, use keyboardButtonWebView for inline keyboards.

Constructor schema is available as of layer 140. Switch ยป

Parameters

Name Type Description
text string Button text
url string Web app URL

Type

KeyboardButton

Related pages

Mini Apps on Telegram

Bots can offer users interactive HTML5 web apps to completely replace any website.

messages.requestSimpleWebView

Open a bot mini app.

keyboardButtonWebView

Button to open a bot mini app using messages.requestWebView, sending over user information after user confirmation.

Can only be sent or received as part of an inline keyboard, use keyboardButtonSimpleWebView for reply keyboards.