Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки