Layer 227
constructor
keyboardButtonStyle#4fdd3430 flags:# bg_primary:flags.0?true bg_danger:flags.1?true bg_success:flags.2?true icon:flags.3?long = KeyboardButtonStyle;

Parameters

Name Type Description
BgPrimary flags .0? true A dark blue color, recommended for main actions.
BgDanger flags .1? true A red color, recommended for destructive actions.
BgSuccess flags .2? true A green color, recommended for positive actions.
Icon flags .3? long The ID of a custom emoji to be displayed before the button's label.

Gogram Example

// Creating KeyboardButtonStyleObj constructor
obj := &tg.KeyboardButtonStyleObj{
    BgPrimary: nil,
    BgDanger: nil,
    BgSuccess: nil,
    Icon: nil,
}