quick_button
Fonction
Bouton en une ligne.
from discord_interactions import quick_buttonSignature
def quick_button( base_id: str, label: str, *, style: str | int = 'Primary', emoji: str | Dict[str, Any] | None = None, data: Dict[str, Any] | None = None, disabled: bool = False, url: str | None = None,) -> Dict[str, Any]Paramètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
base_id | str | requis | |
label | str | requis | |
style | str | int | 'Primary' | |
emoji | str | Dict[str, Any] | None | None | |
data | Dict[str, Any] | None | None | |
disabled | bool | False | |
url | str | None | None |
Retour
Dict[str, Any]