Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

telegram-rich-messages

bởi shingo0620

Web & Frontend Development
590Lượt tải do clawskills.sh công bố
3Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Show me my account options'

AGENT
  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

ĐẦU RA

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

Cài đặt

clawhub install shingo0620/telegram-rich-messages

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết