IProvider.downloadMedia(ref) retrieves them. This single shape covers:
- Baileys (decrypt + CDN fetch + possible reupload),
- Cloud API / Telegram (resolve id -> short-lived URL -> fetch bytes),
- Discord (plain HTTPS GET).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Interface exported by @botmesh/core.
IProvider.downloadMedia(ref) retrieves them. This single shape covers:
kind:
| "image"
| "video"
| "audio"
| "voice"
| "document"
| "sticker"
| "location"
| "contact";
mimetype?: string;
filename?: string;
size?: number;
token: unknown;