claude-code - 💡(How to fix) Fix Telegram channel: add "Allow for this session" button to permission prompts [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47001Fetched 2026-04-13 05:44:07
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Fix Action

Fix / Workaround

Workarounds Considered

RAW_BUFFERClick to expand / collapse

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.allow whitelist in settings.json — works for pre-known tools, but doesn't cover novel calls that come up mid-session
  • permissionMode: 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)

extent analysis

TL;DR

Implementing a "See more" expansion or a /approve session command in the Telegram channel plugin could provide a workaround for the missing Allow for this session button.

Guidance

  • Review the Telegram channel plugin's UI constraints to determine the feasibility of adding a third button or a "See more" expansion.
  • Consider implementing a /approve session command as an alternative to the Allow for this session button.
  • Investigate modifying the permissions.allow whitelist in settings.json to support dynamic additions for novel tool calls.
  • Evaluate the potential impact of introducing a session-based approval mechanism on the existing permission system.

Example

No code snippet is provided due to the lack of specific implementation details in the issue.

Notes

The solution may require changes to the Telegram channel plugin's UI and permission handling logic. The feasibility of implementing a third button or a "See more" expansion depends on the plugin's UI constraints.

Recommendation

Apply workaround: Implementing a /approve session command or a "See more" expansion could provide a significant UX improvement for users interacting with Claude Code via Telegram.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING