voice
Installation
SKILL.md
Voice Skill
Send a voice message (text-to-speech) to the user.
Send a Voice Message
# Normal context (active Telegram chat)
curl -s -X POST http://localhost:23001/api/voice/send \
-H 'Content-Type: application/json' \
-d '{"text": "Hello! How are you today?"}'
# From cron job or background task (specify chatId)
curl -s -X POST http://localhost:23001/api/voice/send \
-H 'Content-Type: application/json' \
-d '{"text": "Hello!", "chatId": "TELEGRAM_CHAT_ID"}'
Response: {"success": true} or {"success": false, "error": "..."}