components.button

button(options: ButtonOptions) ButtonComponent

Create a button component.

Parameters:
  • options — – Button style, label, emoji, custom ID, etc.