KeyboardButton#

class pyrogram.raw.types.KeyboardButton#

Bot keyboard button Available only in reply keyboards. When pressed, clients must send text as a message to the current chat, replying to the message that attached the replyKeyboardMarkup.

Constructor of KeyboardButton.

Details:
  • Layer: 227

  • ID: 7D170CFF

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.