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