[Feat] Add dedicated Telegram bots for existing Sessions - #2336
Open
roomote-roomote[bot] wants to merge 1 commit into
Open
[Feat] Add dedicated Telegram bots for existing Sessions#2336roomote-roomote[bot] wants to merge 1 commit into
roomote-roomote[bot] wants to merge 1 commit into
Conversation
Contributor
roomote-roomote
Bot
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
September 7, 2026 19:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
No linked issue. Requested continuation of an existing Roomote implementation.
Why this PR exists
Existing private Telegram Sessions can have a dedicated bot without manually copying credentials or creating a second conversation. This recovers the completed implementation and delivers it against current Roomote develop, not Roomote Cloud.
What changed
/sessionbotwith Telegram's native Yes, create bot button, explicit bot/Session confirmation, automatic managed-token retrieval and authenticated webhook setup./disconnectstops delivery without deleting Session history or falling back to main-bot credentials.Initial scope is existing private Telegram Fast Sessions. Groups, arbitrary web Session selection, reconnect, child inline actions/reactions and automatic token/ownership-change recovery are not included. Disconnect does not restore main-bot routing.
How it was tested
pnpm lint,pnpm knip, docs build/link validation and local development migration application passed; test schema applied successfully.check-types:fasttasks.check-typestimed out, then its retry was interrupted after 24/27 successful packages. Fullpnpm checkwas not rerun; prior full-suite execution encountered failures in unchanged cloud-agent process tests. These are not claimed green.proof capture timed out. No live Telegram creation or end-to-end testing has occurred.Before enabling users, enable Bot Management Mode on the deployment's main bot, refresh its webhook subscription to include
managed_bot, and run a non-production native creation/confirmation/activation smoke test including unauthorized users, attachments, background replies and disconnect. No production configuration or deployment was changed in this work.Checklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changeset