Telegram Bot
Apps & Automationtelegram-botTelegram Bot is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Telegram bot komutlari ve handler referansi. Use when working with Telegram bot commands, callbacks, or approval workflows.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/telegram-bot/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/telegram-bot, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Telegram Bot Reference
Commands
| Command | Description |
|---|---|
| /start | Ana menu |
| /status | Sistem durumu |
| /manual | Manuel icerik |
| /stats | Analytics ozeti |
| /next | Siradaki icerik |
| /schedule | Haftalik takvim |
| /sync | Insights sync |
Main Menu
[Gunluk Icerik] [Reels]
[Carousel] [Otonom]
[Siradaki] [Analytics]
[Sync] [Yardim]
Key Callbacks
| Callback | Action |
|---|---|
| start_daily | Gunluk pipeline |
| create_reels | Reels pipeline |
| approve_topic | Konu onayla |
| approve_content | Icerik onayla |
| approve_visual | Gorsel onayla |
| publish_now | Hemen yayinla |
| regenerate_* | Yeniden uret |
| cancel | Iptal |
Approval Flow
1. Topic → [Onayla] [Baska Oner] [Iptal]
2. Content → [Onayla] [Yeniden Yaz] [Iptal]
3. Visual → [Onayla] [Yeniden Uret] [Iptal]
4. Final → [YAYINLA] [Zamanla] [Iptal]
Pipeline Integration
pipeline.set_approval({
"action": "approve_topic",
"edited_topic": "...", # optional
"feedback": "..." # optional
})
Send Message
await update.message.reply_text("*Bold*", parse_mode="Markdown")
# With buttons
keyboard = [[InlineKeyboardButton("OK", callback_data="ok")]]
await update.message.reply_text("?", reply_markup=InlineKeyboardMarkup(keyboard))
Error Handling
try:
await bot.send_message(text, parse_mode="Markdown")
except:
await bot.send_message(text.replace("*", "")) # Fallback
Environment
TELEGRAM_BOT_TOKEN=...
TELEGRAM_ADMIN_CHAT_ID=...
TELEGRAM_ADMIN_USER_IDS=123,456 # Optional extra admins
Deep Links
app/telegram_pipeline.py- Bot + handlersapp/scheduler/pipeline.py- Pipeline integration