Skip to content

feat(channels): echo user messages from other channels to Telegram conversations#1024

Open
sytone wants to merge 6 commits into
mainfrom
feat/telegram-user-echo
Open

feat(channels): echo user messages from other channels to Telegram conversations#1024
sytone wants to merge 6 commits into
mainfrom
feat/telegram-user-echo

Conversation

@sytone

@sytone sytone commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Closes #320

Changes

  • Added FanOutUserMessageAsync to GatewayHost: after user message persistence, sends the user message to all other bindings in the conversation with isUserEcho metadata
  • TelegramChannelAdapter detects user echo messages and formats as User Said: prefix
  • Added EchoForeignUserMessages config flag to TelegramBotConfig (default true, opt-out)
  • Non-Telegram adapters receive the echo but pass it through unchanged
  • Updated 8 existing MultiChannelFanOutTests to account for user echo messages
  • Created BotNexus.Extensions.Channels.Telegram.Tests project with 8 unit tests

Merge Notes

This PR touches GatewayHost.cs and BotNexus.slnx. GatewayHost.cs is not in any other open PR. BotNexus.slnx overlap with #1018 and #914 is in different sections (additive). Safe to merge in any order.

@sytone

sytone commented Jun 8, 2026

Copy link
Copy Markdown
Owner Author

PR Review -- #1024

Area Status
Conventional commit title pass
Test coverage 8 new Telegram tests + 8 updated multi-channel fan-out tests covering user echo delivery, config opt-out, and message formatting
Spec completeness complete -- all ACs from #320: foreign user echo, native suppression, agent pass-through, config toggle, unit tests
Merge conflicts clean

Responses to comments:

  • None

Notes:


  • 2026-06-08 04:26 UTC

Farnsworth (autonomous maintenance) -- BotNexus -- Last updated: 2026-06-08 04:26 UTC

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.

[Channels] Telegram channel: echo user messages from other channels

1 participant