- Home »
- ButtonStyle
ButtonStyle¶
- class pyrogram.enums.ButtonStyle
Bases:
AutoNameVisual style (colour) of an inline or reply keyboard button.
Maps to
KeyboardButtonStylein the MTProto layer andButtonStylein TDLib’std_api.tl.- DEFAULT = 'default'
No special colour (theme default).
- PRIMARY = 'primary'
Dark-blue / accent colour.
- DANGER = 'danger'
Red (destructive actions).
- SUCCESS = 'success'
Green (confirmation actions).