telegram-rich-messagelisted
Install: claude install-skill imamirezaei/Product-Team-Claude-Skills
# Telegram Rich Message Builder
Convert raw message copy into a **valid, ready-to-use Telegram `InputRichMessage` payload** that the engineering team can pass directly to the backend `sendRich` method — no manual edits required.
This skill is the product → engineering handoff for Telegram Rich Messages. The PM writes intent and copy; this skill produces the exact structured payload.
## Output language rule
- **Skill instructions and the "notes for engineering" are in English.**
- **The message body keeps the original language of the PM's copy.** If the copy is Persian, the rendered text stays Persian and `is_rtl` defaults to `true`. Never translate the message content.
## Inputs to gather
If not already provided, ask the PM for:
1. **The raw copy** — the text/message they want to send.
2. **Structure intent** (optional) — e.g. "a title, two bullet points, and a quote at the end". If absent, infer a sensible structure from the copy.
3. **Format preference** (optional) — `markdown` (default) or `html`. Default to **markdown** because it is readable; switch to **html** if the copy contains many Markdown-special characters or is assembled from dynamic values where escaping `< > &` is simpler.
4. **Direction** (optional) — default `is_rtl: true` for Persian/Arabic copy; `false` for purely LTR copy.
## What to produce
Always output **exactly one** `InputRichMessage` JSON block. This is the object the backend places in `rich_message`:
```json
{
"markdown": "<the formatte