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.

When pressed, clients must open a Keyboard Button Mini App using messages.requestSimpleWebView, passing url to messages.requestSimpleWebView.url.

Layer 223

keyboardButtonSimpleWebView#e15c4370 flags:# style:flags.10?KeyboardButtonStyle text:string url:string = KeyboardButton;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
styleflags.10?KeyboardButtonStyleButton style, see here » for more info on button styles.
textstringButton text
urlstringWeb app URL

Type #

KeyboardButton

Bot buttons #

Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.

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.

When pressed, clients must open an Inline Button Mini App using messages.requestWebView, passing url to messages.requestWebView.url.