跳到正文
TakoAPI
返回技能列表

telegram-ops

由 brennerspear 提供

Coding Agents & IDEs
1.4k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Calls createForumTopic via Telegram Bot API and captures the returned message_thread_id

  2. 2

    Calls editForumTopic with the analytics icon emoji ID to set a matching icon

  3. 3

    Writes a system prompt describing the topic scope and agent context

  4. 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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接