跳到正文
TakoAPI
返回技能列表

telegram-rich-messages

由 shingo0620 提供

Web & Frontend Development
590下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Comprehensive guide for Telegram Rich UI features (Inline buttons, formatting, media, reactions, and message.

描述

该技能的功能

A guide for using Telegram's rich UI features in agent responses, covering inline buttons, text formatting, media uploads, reactions, and message editing. Prioritizes interactive elements over plain text to reduce friction for the end user.

Inline buttons eliminate typing errors and speed up user interactions compared to text-only bot responses.

何时使用

  • Presenting choices as inline buttons instead of asking users to type
  • Formatting bot responses with Markdown or HTML for readability
  • Uploading files or media directly to a Telegram chat
  • Adding emoji reactions to messages after completing tasks
  • Editing or deleting previously sent messages mid-conversation

示例工作流

输入

User asks: 'Show me my account options'

智能体
  1. 1

    Formats a summary message with key account details in monospace code blocks for easy copying

  2. 2

    Attaches inline buttons for the most likely next actions: 'Check Balance', 'Settings', 'Logout'

  3. 3

    Sends the message via the Telegram message tool using the buttons parameter

  4. 4

    After user taps a button, edits the original message to reflect the updated state

输出

An interactive Telegram message with formatted text and tappable buttons, requiring no typing from the user

安装

clawhub install shingo0620/telegram-rich-messages

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

链接