create_checkbox_group
Function
Checkbox group (1 to 10 options, multiple choices).
from discord_interactions import create_checkbox_groupSignature
def create_checkbox_group( custom_id: str, options: Sequence[Any], placeholder: str | None = None, min_values: int | None = 0, max_values: int | None = None, disabled: bool = False, required: bool = False, component_id: int | None = None,) -> Dict[str, Any]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
custom_id | str | required | |
options | Sequence[Any] | required | |
placeholder | str | None | None | |
min_values | int | None | 0 | Minimum number of boxes; 0 makes the group optional. |
max_values | int | None | None | Maximum number of boxes; all of them by default. |
disabled | bool | False | |
required | bool | False | |
component_id | int | None | None |
Returns
Dict[str, Any]