{"name": "Telegram bot", "authentication": "Sending APIs require Authorization: Bearer <API_KEY>", "default_chat": "If chat_id is omitted, DEFAULT_CHAT_ID is used when configured.", "endpoints": [{"method": "GET", "path": "/", "description": "List available endpoints."}, {"method": "GET", "path": "/health", "description": "Report service uptime and disk usage."}, {"method": "POST", "path": "/api/messages", "description": "Send a text message as JSON.", "body": {"text": "required string", "chat_id": "optional integer or @channel", "parse_mode": ["HTML", "MarkdownV2", "Markdown"]}}, {"method": "POST", "path": "/api/files", "description": "Send the raw request body as a document. Maximum 50 MB.", "query": {"filename": "required", "chat_id": "optional", "caption": "optional", "parse_mode": ["HTML", "MarkdownV2", "Markdown"]}}, {"method": "POST", "path": "/api/photos", "description": "Send the raw request body as a photo. Maximum 10 MB. Telegram image constraints apply.", "query": {"filename": "required", "chat_id": "optional", "caption": "optional", "parse_mode": ["HTML", "MarkdownV2", "Markdown"]}}], "telegram_commands": {"/chatid": "Reply with the current chat ID.", "/server": "Report service uptime and disk usage."}}