encode_data
Function
Encodes a dict as compact JSON in url-safe base64 without padding.
from discord_interactions import encode_dataSignature
def encode_data(data: Dict[str, Any]) -> strParameters
| Name | Type | Default | Description |
|---|---|---|---|
data | Dict[str, Any] | required |
Returns
str