KeyboardButtonWebView#

class pyrogram.raw.types.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.

Constructor of KeyboardButton.

Details:
  • Layer: 227

  • ID: E846B1A0

Parameters:
Functions:

This object can be returned by 1 function.

bots.GetRequestedWebViewButton

Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here for more info.