Die Dokumentation ist derzeit nur auf Englisch verfügbar.
This page is synced from
app/docs/渠道/telegram.mdin the GitHub repository. If it differs from the source, the repository wins.
Telegram Channel
Overview
Supports running Liri as a Telegram Bot.
Configuration
TELEGRAM_ENABLED=true
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_WEBHOOK_URL=https://your-domain.com/webhook
Features
- Message sending and receiving
- Inline queries
- Command support
- Media file handling
Setup Steps
- Create a Bot with @BotFather and obtain the Token
- Configure the Webhook URL
- Set the Bot commands
Commands
| Command | Description |
|---|---|
/start | Start a conversation |
/help | View help |
/chat | Enter chat mode |
/skill | View skills |
Quelldatei: app/docs/渠道/telegram.md