Skip to content

keyboardButtonStyle

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

KeyboardButtonStyle

Name Type Flag Default Description
flags # flag word —
bg_primary flags.0?true flags.0 —
bg_danger flags.1?true flags.1 —
bg_success flags.2?true flags.2 —
icon flags.3?long flags.3 —
Parameter Bit Meaning
bg_primary 0 Controlled by flags; present when this bit is set.
bg_danger 1 Controlled by flags; present when this bit is set.
bg_success 2 Controlled by flags; present when this bit is set.
icon 3 Controlled by flags; present when this bit is set.
from miniproto.raw.types import KeyboardButtonStyle

Public access: miniproto.raw.types.KeyboardButtonStyle.

KeyboardButtonStyle

Schema sources