KeyboardButtonGame
- class pyrogram.raw.types.KeyboardButtonGame
Button to start a game
Constructor of
KeyboardButton.- Details:
Layer:
223ID:
89C590F9
- Parameters:
text (
str) – Button textstyle (
KeyboardButtonStyle, optional)
TL Schema
keyboardButtonGame#89c590f9
flags:#
style:flags.10?KeyboardButtonStyle
text:string
= KeyboardButton
Parameter Tree
KeyboardButtonGame
├── style →
KeyboardButtonStyle (optional)│ └──
KeyboardButtonStyle│ ├── bg_primary →
true (optional)│ ├── bg_danger →
true (optional)│ ├── bg_success →
true (optional)│ └── icon →
long (optional)└── text →
stringExample
KeyboardButtonGame(
text="Open",
)