Design around the user's task, chat context and existing product language. Read the guide for interaction choice, button roles and recovery; flow patterns for concrete screens and wording. Use the review template to assess an existing flow.
Decisions that matter
- Select chat, inline mode or Mini App from the task. Do not move a small menu into a browser merely to obtain arbitrary colors.
- Use
primaryfor the next important action,successfor a positive commitment,dangerfor destructive consequences, and the default style for ordinary choices, Back and Cancel. These are design recommendations; the server allows multiple styled buttons. Color never replaces the action label. - A request to delete differs from confirmed deletion. Bind any confirmation to the current object, sender and version; do not perform the action merely because a previous screen displayed a red button.
- Preserve a way to leave, recover or restart a flow. Stale, unauthorized, empty, loading and failed states need useful next actions, not just an error code.
- Keep durable operations and displayed outcomes consistent. A timeout may leave an operation's result unknown; reconcile its state before offering another commit.
Use keyboards UI for actual button fields, callback acknowledgements and SDK support. Use accessibility for labels, localization and client testing; payments for checkout truth and fulfillment. Read sources when checking native UI support. Test the actual journey with representative Telegram clients; no design document certifies their rendering.