parse_signed_custom_id
Fonction
Vérifie un custom_id signé. Renvoie (base_id, données, valide, raison).
from discord_interactions import parse_signed_custom_idSignature
def parse_signed_custom_id( custom_id: str, secret: str, enforce_expiry: bool = True,) -> Tuple[str, Dict[str, Any], bool, str]Paramètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
custom_id | str | requis | |
secret | str | requis | |
enforce_expiry | bool | True | Refuser un custom_id expiré. |
Retour
Tuple[str, Dict[str, Any], bool, str]