KeyboardButtonStyle

class pyrogram.types.KeyboardButtonStyle

Button style.

Parameters:
  • bg_primary (bool, optional) – Whether the button should be primary.

  • bg_danger (bool, optional) – Whether the button should be danger.

  • bg_success (bool, optional) – Whether the button should be success.

  • icon (int, optional) – Custom icon for the button.