mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5255] [CLOSED] feat(tgbot): add dedicated outbound/balancer tag for Telegram bot #5833
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5833
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5255
Author: @Ssentiago
Created: 6/13/2026
Status: ❌ Closed
Base:
main← Head:fix/tgbot-outbound-routing📝 Commits (1)
6957048feat(tgbot): add dedicated outbound/balancer tag for Telegram bot routing📊 Changes
9 files changed (+189 additions, -10 deletions)
View changed files
📝
frontend/src/models/setting.ts(+1 -0)📝
frontend/src/pages/settings/TelegramTab.tsx(+66 -1)📝
internal/web/controller/setting.go(+7 -1)📝
internal/web/entity/entity.go(+1 -0)📝
internal/web/service/setting.go(+31 -0)📝
internal/web/service/tgbot/tgbot.go(+4 -4)📝
internal/web/service/xray.go(+69 -0)📝
internal/web/translation/en-US.json(+5 -2)📝
internal/web/translation/ru-RU.json(+5 -2)📄 Description
Adds a dedicated outbound/balancer tag setting (
tgBotOutbound) for the Telegram bot, allowing independent routing of bot traffic through Xray without affecting the panel's own outbound.What's new:
tgBotOutboundsetting — select an outbound or balancer tag specifically for the bottgbot-egress, port 62800+) — no conflicts with panel egresstgBotOutbound→panelOutbound→ directFiles changed:
frontend/src/models/setting.tsfrontend/src/pages/settings/TelegramTab.tsxinternal/web/controller/setting.gointernal/web/entity/entity.gointernal/web/service/setting.gointernal/web/service/tgbot/tgbot.gointernal/web/service/xray.gointernal/web/translation/en-US.jsoninternal/web/translation/ru-RU.json🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.