telegram-rich-messages
от shingo0620
Web & Frontend DevelopmentКратко
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
Formats a summary message with key account details in monospace code blocks for easy copying
- 2
Attaches inline buttons for the most likely next actions: 'Check Balance', 'Settings', 'Logout'
- 3
Sends the message via the Telegram message tool using the buttons parameter
- 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 — любой кодинг-агент, которым пользуетесь.