Telegram Bot
VerifiziertEnhance your Telegram experience with AI-powered group management, auto-replies, content moderation, and scheduled messages. Create custom commands, set up welcome flows, and let your OpenClaw agent manage your communities while you sleep.
Installation
$ claw install telegram-bot Konfiguration
Konfiguriere Umgebungsvariablen in deiner .env-Datei oder im Skill-Manifest.
| VARIABLE | DESCRIPTION | DEFAULT |
|---|---|---|
| TELEGRAM_BOT_TOKEN | Telegram Bot API token from @BotFather | |
| ADMIN_CHAT_ID | Your Telegram chat ID for admin notifications | |
| AUTO_MODERATE | Enable automatic spam/content moderation | true |
Verwendung
// Telegram bot skill activated
check_circle Welcome message configured for group "OpenClaw Community"
shield Spam filter enabled: auto-delete messages with suspicious links
Spam filter: URL pattern matching + ML-based content scoring
Action: Delete message + warn user (3 strikes = ban)
Skill-Manifest (JSON)
{
"name": "telegram-bot",
"version": "1.5.0",
"permissions": [
"telegram.messages.read",
"telegram.messages.write",
"telegram.groups.manage"
],
"trigger": "regex:/(send|post|moderate|welcome|ban|schedule) .*(message|group|chat|member|telegram).*/i",
"engine": "node-20"
} Bewertungen
Managing a 10k-member Telegram group was a nightmare before this. The spam filter catches 99% of crypto scam bots and the welcome flow reduced "where do I start?" questions by half.
The scheduled messages feature is underrated. I queue up announcements for the whole week on Monday morning. Combined with the auto-reply for FAQs, my group basically runs itself.
Runs entirely on your own infrastructure — no third-party servers see your messages. The moderation ML model is local too. Only downside is initial setup requires some Telegram API knowledge.