MessageSelectMenu

Inherits: MessageInteractiveComponent < MessageComponent < Reference < Object

Description

Interactive component that displays a list of options. They single-select and multi-select behavior.

Properties

type name
bool disabled
Array options
String placeholder
int min_values
int max_values

Property Descriptions

  • bool disabled

    Disable the select.


  • Array options

    List of MessageSelectOptions.


  • String placeholder

    Custom placeholder text if nothing is selected.


  • int min_values

    The minimum number of items that must be chosen.


  • int max_values

    The maximum number of items that can be chosen.