decode_data
Function
Decodes custom_id data; returns {} when invalid.
from discord_interactions import decode_dataSignature
def decode_data(encoded: str) -> Dict[str, Any]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
encoded | str | required |
Returns
Dict[str, Any]