KeyboardButtonWebView

class pyrogram.raw.types.KeyboardButtonWebView

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

Constructor of KeyboardButton.

Details:
  • Layer: 225

  • ID: E846B1A0

Parameters:
  • text (str) – Button text

  • url (str) – Web app url

  • style (KeyboardButtonStyle, optional) – N/A

Functions:

This object can be returned by 1 function.

bots.GetRequestedWebViewButton

Telegram API function.