# KeyboardButtonStyle

This constructor allows setting a custom background color and custom emoji label for a button, see [here »](/api/bots/buttons.md#button-styles) for more info.

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

### Constructors

| Constructor | Description |
| --- | --- |
| [keyboardButtonStyle](/constructor/keyboardButtonStyle.md) | This constructor allows setting a custom background color and custom emoji label for a button, see [here »](/api/bots/buttons.md#button-styles) for more info. |

### Related pages

#### [Bot buttons](/api/bots/buttons.md)
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.