AgentSkillsCN

telegram

在回复文本中嵌入专属于 Telegram 的内联指令,用于触发交互、回复消息,或控制流式传输。这并非一款 CLI 工具——这些神奇的字符串会在您的 Telegram 回复中被自动解析并识别。

SKILL.md
--- frontmatter
name: telegram
description: telegram-specific inline directives you embed in your response text to react, reply-to, or control streaming. NOT a CLI tool - these are magic strings that get parsed out of your telegram response.

telegram directives

how it works: embed these directives anywhere in your response text. they get parsed out and executed - the user won't see the directive syntax, just the result.

these are NOT CLI commands. you literally type [[react: 👍]] in your response and it becomes a reaction.

reactions

react to a message without sending a reply text:

code
[[react: 👍]]

that's it - just the directive, nothing else. user sees a 👍 reaction on their message.

common reactions: 👍 👎 ❤️ 🔥 😂 😢 🤔 👀

use when:

  • acknowledging something that doesn't need a reply
  • quick yes/no
  • showing you understood

reply to specific message

reply threading - your message appears as a reply to theirs:

code
[[reply_to_current]] yeah i see what you mean

or reply to a specific message by id:

code
[[reply_to: 12345]] responding to that earlier point...

stream control

control how your response appears as you generate it:

code
[[stream: edit]] starting to work on this...

modes:

  • edit - update the same message as you type (default)
  • send - send chunks as separate messages
  • off - wait until complete, then send once

silent responses

handled something that doesn't need user notification:

code
NO_REPLY

combine with react for silent acknowledgment:

code
[[react: 👍]] NO_REPLY

formatting

telegram supports: bold, italic, code, code blocks, links, strikethrough