KeyboardButtonUrl#

class pyrogram.raw.types.KeyboardButtonUrl#

URL button Available only in inline keyboards. When pressed, clients open url, showing a confirmation prompt unless the URL is one of the internal URIs.

Constructor of KeyboardButton.

Details:
  • Layer: 227

  • ID: D80C25EC

Parameters:
  • text (str) – Button label

  • url (str) – URL

  • style (KeyboardButtonStyle, optional) – Button style, see here » for more info on button styles.

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.