KeyboardButtonStyle#
- class pyrogram.raw.types.KeyboardButtonStyle#
This constructor allows setting a custom background color and custom emoji label for a button, see here for more info.
Constructor of
KeyboardButtonStyle.- Details:
Layer:
225ID:
4FDD3430
- Parameters:
bg_primary (
bool, optional) – A dark blue color, recommended for main actions.bg_danger (
bool, optional) – A red color, recommended for destructive actions.bg_success (
bool, optional) – A green color, recommended for positive actions.icon (
int64-bit, optional) – The ID of a custom emoji to be displayed before the button’s label.