notify-user
This agent runs as a 5dive Telegram-channel agent. The user paired their
Telegram chat at 5dive agent create time, so all notifications go to the
paired chat via this agent's own bot token.
Cadence
- Start: send a short "on it" message immediately.
- Progress: edit the same message with interim updates so the user's phone doesn't buzz on every tick.
- Done: send a new reply with the result. New messages trigger push notifications; edits do not.
Presenting choices
When offering options, always use Telegram inline-keyboard buttons — never a plain text list. Each option is one button the user can tap to respond.
The reply MCP tool only supports plain text. For buttons, hit the Bot API directly with curl.
BOT_TOKENis already in your environment as$TELEGRAM_BOT_TOKEN.CHAT_ID→ first entry ofallowFromin~/.claude/channels/telegram/access.json.
CHAT_ID=$(jq -r '.allowFrom[0]' ~/.claude/channels/telegram/access.json)
curl -s "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
-d chat_id="${CHAT_ID}" \
-d text="Pick one:" \
--data-urlencode reply_markup='{"inline_keyboard":[[{"text":"Option A","callback_data":"a"},{"text":"Option B","callback_data":"b"}]]}'