telegram-ops
بواسطة brennerspear
Coding Agents & IDEsموجز
Telegram Bot API operations for forum management.
الوصف
ما الذي تفعله هذه المهارة
Manages Telegram forum topics via the Bot API within an OpenClaw environment. Covers the full lifecycle: creating topics, setting icons, registering them in OpenClaw config with system prompts, and archiving with session cleanup.
It encodes a multi-step creation and archival workflow so topics are consistently configured in both Telegram and OpenClaw config without missing steps like icon assignment or session registration.
متى تستخدمها
- Creating a new forum topic for a project in a Telegram group
- Archiving an inactive topic and exporting its conversation history
- Setting a matching icon on a newly created topic
- Registering a topic with a custom agent system prompt
- Removing a closed topic from OpenClaw config and deleting its session
مثال على سير العمل
User asks: Set up a new Telegram forum topic for our analytics team
- 1
Calls createForumTopic via Telegram Bot API and captures the returned message_thread_id
- 2
Calls editForumTopic with the analytics icon emoji ID to set a matching icon
- 3
Writes a system prompt describing the topic scope and agent context
- 4
Patches OpenClaw config to register the topic under the group with the system prompt
Topic created in Telegram with the analytics icon, registered in OpenClaw config with an isolated session and custom system prompt
المتطلبات
- Telegram bot token configured in OpenClaw (created via BotFather)
- Bot added as admin with can_manage_topics permission in the target Telegram group
التثبيت
clawhub install brennerspear/telegram-opsشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.