mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #4327] [CLOSED] Feature/tgbot new client creation params #5662
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#5662
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/4327
Author: @rydve
Created: 5/12/2026
Status: ❌ Closed
Base:
main← Head:feature/tgbot-new-client-creation-params📝 Commits (10+)
510db89feat(tgbot): add Sub ID and Flow (for VLESS with TCP(raw) and Reality/TLS) selection in client-creation menu.ee92032Update web/service/tgbot.go9b494e0Merge branch 'MHSanaei:main' into feature/tgbot-new-client-creation-paramsc869c3ffix(tgbot): improve client creation UX, Sub ID validation and RTL support64bfb8ffix: add missing sub_id and flow translation for zn-CN, zh-TW and vi-VNf6ae9b9Merge branch 'main' into feature/tgbot-new-client-creation-params9d9ae03Update es_Es.toml9761ef4Update vi_VN.tomlb19003eMerge branch 'main' into feature/tgbot-new-client-creation-paramseb9f5ceMerge branch 'main' into feature/tgbot-new-client-creation-params📊 Changes
16 files changed (+7922 additions, -8415 deletions)
View changed files
📝
web/controller/setting.go(+4 -0)📝
web/locale/locale.go(+15 -2)📝
web/service/tgbot.go(+1129 -1756)📝
web/translation/ar-EG.json(+837 -829)📝
web/translation/en-US.json(+15 -0)📝
web/translation/es-ES.json(+837 -829)📝
web/translation/fa-IR.json(+8 -0)📝
web/translation/id-ID.json(+845 -837)📝
web/translation/ja-JP.json(+837 -829)📝
web/translation/pt-BR.json(+845 -837)📝
web/translation/ru-RU.json(+14 -0)📝
web/translation/tr-TR.json(+845 -837)📝
web/translation/uk-UA.json(+837 -829)📝
web/translation/vi-VN.json(+9 -1)📝
web/translation/zh-CN.json(+8 -0)📝
web/translation/zh-TW.json(+837 -829)📄 Description
What is the pull request?
This PR supersedes and re-implements the features from the closed PR #3882, making them fully compatible with the v3.0+ architecture.
It enhances the Telegram bot's client creation wizard with the following improvements:
Telegram bot when adding a new client.
with a thread-safe map (clientStates map[int64]*ClientState), eliminating data race conditions when multiple
administrators use the bot simultaneously.
web panel (no service restart required).
wrappers (t.I18nBot()) and synchronized the missing translation keys across all language JSON files to prevent rendering
issues in non-English/Russian interfaces.
Which part of the application is affected by the change?
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.