create_checkbox
Fonction
Case à cocher unique, oui ou non. Toujours facultative.
from discord_interactions import create_checkboxSignature
def create_checkbox( custom_id: str, default: bool = False, component_id: int | None = None,) -> Dict[str, Any]Paramètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
custom_id | str | requis | |
default | bool | False | Cochée par défaut. |
component_id | int | None | None |
Retour
Dict[str, Any]