Telegram channel: add "Allow for this session" button to permission prompts
Problem
When using the Telegram channel plugin, permission prompts show only two buttons: Allow and Deny. The terminal version has a third option — Allow for this session — which remembers the approval for the rest of the session.
For users who interact with Claude Code primarily or exclusively via Telegram, having to re-approve the same tool call repeatedly within one working session is tedious. This is especially painful for routine Bash commands (git, ls, etc.) that get called dozens of times per session.
Expected Behavior
Telegram permission prompts should include a third button: Allow for this session (or an equivalent), matching the terminal experience. Once clicked, the same tool + args pattern should not prompt again in the same session.
Alternative
If layout constraints make a third button hard, a "See more" expansion or a /approve session command would also work. Any way to batch-approve for a session from Telegram would be a significant UX improvement.
Workarounds Considered
permissions.allowwhitelist insettings.json— works for pre-known tools, but doesn't cover novel calls that come up mid-sessionpermissionMode: bypassPermissions— too broad; defeats the purpose of the review- Running
--permission-mode auto— not available on all plans (e.g. Max)
Environment
- Claude Code with Telegram channel plugin (v0.0.5)
- Observed on both Claude Max and regular plans
Related issues: #36501, #37505 (both about Telegram permission visibility, solved in v0.0.2 with permission relay; this is a follow-up UX enhancement)
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗