KeyboardButtonGame#
- class pyrogram.raw.types.KeyboardButtonGame#
Button to start a game Available only in inline keyboards. When pressed, clients must open the game from the attached messageMediaGame constructor by invoking messages.getBotCallbackAnswer with the game flag set, as described in Starting a game.
Constructor of
KeyboardButton.- Details:
Layer:
227ID:
89C590F9
- Parameters:
text (
str) – Button textstyle (
KeyboardButtonStyle, optional) – Button style, see here » for more info on button styles.
- Functions:
This object can be returned by 1 function.
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.