download_bot
Download a bot configuration ZIP package using a JWT token, returning the ZIP as base64-encoded binary for file saving.
Instructions
Download a bot configuration ZIP package (bot.yaml, .env, commands/) using a temporary JWT token from export_bot. Returns the ZIP as base64-encoded binary. Save the base64 field to a file and decode it to get the ZIP. No API key required (uses JWT).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The temporary download JWT token (from export_bot response). | |
| filename | No | Optional filename to include in the response metadata. |