KeyboardButtonStyle

class pyrogram.raw.types.KeyboardButtonStyle

{schema}

Constructor of KeyboardButtonStyle.

Details:
  • Layer: 223

  • ID: 4FDD3430

Parameters:
  • bg_primary (bool, optional)

  • bg_danger (bool, optional)

  • bg_success (bool, optional)

  • icon (int 64-bit, optional)

TL Schema

keyboardButtonStyle#4fdd3430
flags:#
bg_primary:flags.0?true
bg_danger:flags.1?true
bg_success:flags.2?true
icon:flags.3?long

= KeyboardButtonStyle

Parameter Tree

KeyboardButtonStyle
├── bg_primarytrue (optional)
├── bg_dangertrue (optional)
├── bg_successtrue (optional)
└── iconlong (optional)

Example

KeyboardButtonStyle(
)