Skip to content

feat(telegram): expose channel policies and bind native choices - #2086

Open
ideshun wants to merge 2 commits into
TencentCloud:developfrom
ideshun:feat/telegram-channel-ab
Open

ideshun wants to merge 2 commits into
TencentCloud:developfrom
ideshun:feat/telegram-channel-ab

Conversation

@ideshun

@ideshun ideshun commented Oct 15, 2026

Copy link
Copy Markdown

Behavior

Expose Telegram group activation, allowlists, topic isolation, reply/edited-message policy, streaming, reactions, delivery options and media settings in the channel drawer. Defaults preserve existing group activation; users can explicitly choose stricter modes.

Topic-isolated sessions include channel instance, chat and topic identity, with routing metadata retained for scheduled delivery. Single-choice ask_user_question prompts and paginated model menus use native callbacks bound to sender/chat/topic and recheck agent ownership, thread identity and model eligibility. Stopping a Telegram response also signals the active Harness stream.

Dependency and scope

Requires the Gateway companion PR below. No dependency version is invented before its release; channel save/probe rejects unsupported options on older Gateway builds instead of silently ignoring them. Gateway should merge/release first, then Octop can pin the released version before this is ready to merge.

Agent switching is explicitly unsupported. Multi-select/free-text questions retain text handling. This does not introduce Telegram security-approval buttons or grant group administrators Octop administrative authority.

Validation

Commit hooks: Ruff, mypy (564 files), 128 targeted backend tests, TypeScript/Vite/PWA production build passed. Targeted frontend tests: 21 passed. Tested against companion Gateway source.

Full Octop suite is not claimed green: the 4,500-test local run was stopped for runtime cost; a broader run also exposed a reproducible history subprocess timeout outside these changes. Live Telegram behavior has not been tested. Draft until dependency release, full CI and live verification.

Companion Gateway PR: TencentCloud/octop-gateway#34

@ideshun

ideshun commented Oct 15, 2026

Copy link
Copy Markdown
Author

This update adds Telegram channel settings for group activation, user and chat allowlists, topic isolation, streaming responses, and media delivery. It also adds native buttons for model selection and single-choice questions.

Screenshots below show the updated Telegram channel configuration UI.
image

@ideshun
ideshun marked this pull request as ready for review October 15, 2026 16:16

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant