Skip to main content

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.

type tg.KeyboardButtonSimpleWebView struct { /* ... */ }

Implements KeyboardButton.

Fieldsโ€‹

NameTypeRequiredDescription
StyleKeyboardButtonStyleโ€”Button style, see here ยป for more info on button styles.
TextstringyesButton text
URLstringyesWeb app URL

Referencesโ€‹