Telegram Rich Messages
This skill transforms the agent from a text-only chatbot into an interactive Telegram assistant.
Core Principle: Low-Friction Interaction
Typing is slow and error-prone. Always prioritize Rich UI elements to minimize the user's need to reply with text. If a user has a choice to make, give them a button.
Quick Navigation
Detailed guides for each feature:
- decision-matrix.md: When to use which UI element.
- formatting.md: Markdown V2, HTML, and Auto-Copy (Monospace) tricks.
- interactive-ui.md: How to send stable Inline Buttons and Quick Replies.
- media-and-actions.md: Sending files, stickers, using reactions, and editing/deleting messages.
Best Practices
- Monospace for Data: Use code blocks for IDs, addresses, or snippets. Users can tap to copy them instantly on mobile.
- Stable Buttons: Always use the
messagetool'sbuttonsparameter instead of string directives ([[buttons:...]]) for 100% reliability. - Contextual Actions: After completing a task, provide buttons for the most likely next steps (e.g., "Check Status", "Delete", "Settings").
- Direct Uploads: Telegram supports direct file uploads. No need for Google Drive or external hosting.