Install
openclaw skills install telegram-voice-botTelegram bot that transcribes voice messages using Whisper and replies in Chinese with Microsoft Edge text-to-speech.
openclaw skills install telegram-voice-bot支持语音识别和中文语音合成的 Telegram 机器人技能。
pip install -r requirements.txt
export TELEGRAM_BOT_TOKEN="your_token"
python bot.py
| 变量 | 说明 | 默认值 |
|---|---|---|
| TELEGRAM_BOT_TOKEN | Telegram Bot Token | (必填) |
| VOICE_REPLY | 是否使用语音回复 | true |
在代码中修改 MODEL_NAME:
MIT