[PR #3882] [CLOSED] feat: add sub id and flow customization in tgbot client-creation menu #5547

Closed
opened 2026-10-31 20:47:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3882
Author: @rydve
Created: 3/4/2026
Status: ❌ Closed

Base: main ← Head: feature/tgbot-new-client-creation-params


📝 Commits (10+)

  • 510db89 feat(tgbot): add Sub ID and Flow (for VLESS with TCP(raw) and Reality/TLS) selection in client-creation menu.
  • ee92032 Update web/service/tgbot.go
  • 9b494e0 Merge branch 'MHSanaei:main' into feature/tgbot-new-client-creation-params
  • c869c3f fix(tgbot): improve client creation UX, Sub ID validation and RTL support
  • 64bfb8f fix: add missing sub_id and flow translation for zn-CN, zh-TW and vi-VN
  • f6ae9b9 Merge branch 'main' into feature/tgbot-new-client-creation-params
  • 9d9ae03 Update es_Es.toml
  • 9761ef4 Update vi_VN.toml
  • b19003e Merge branch 'main' into feature/tgbot-new-client-creation-params
  • eb9f5ce Merge branch 'main' into feature/tgbot-new-client-creation-params

📊 Changes

14 files changed (+2040 additions, -1696 deletions)

View changed files

📝 web/service/tgbot.go (+249 -4)
📝 web/translation/translate.ar_EG.toml (+9 -0)
📝 web/translation/translate.en_US.toml (+9 -0)
📝 web/translation/translate.es_ES.toml (+846 -846)
📝 web/translation/translate.fa_IR.toml (+9 -0)
📝 web/translation/translate.id_ID.toml (+9 -0)
📝 web/translation/translate.ja_JP.toml (+9 -0)
📝 web/translation/translate.pt_BR.toml (+9 -0)
📝 web/translation/translate.ru_RU.toml (+9 -0)
📝 web/translation/translate.tr_TR.toml (+9 -0)
📝 web/translation/translate.uk_UA.toml (+9 -0)
📝 web/translation/translate.vi_VN.toml (+846 -846)
📝 web/translation/translate.zh_CN.toml (+9 -0)
📝 web/translation/translate.zh_TW.toml (+9 -0)

📄 Description

What is the pull request?

Added the ability to customize Sub ID and Flow settings directly via the Telegram bot for supported protocols (VLESS, VMESS, Trojan, Shadowsocks).

  • Customization: Users can now set a specific Sub ID and choose the Flow (xtls-rprx-vision, xtls-rprx-vision-udp443 and Empty) during client creation in the bot.
  • Note: The Flow configuration is only applicable and available for VLESS inbounds configured with TCP(raw) transport using TLS or Reality security.
  • Localization: Updated all 13+ language files (.toml) to include the new UI elements, ensuring consistent support across all locales.
  • Note: Normalized CRLF to LF in translate.vi_VN.toml and translate.es_ES.toml. Use "Hide whitespace" in diff to see the actual changes.

Resolves #3881, #3700

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots

image image image image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3882 **Author:** [@rydve](https://github.com/rydve) **Created:** 3/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/tgbot-new-client-creation-params` --- ### 📝 Commits (10+) - [`510db89`](https://github.com/MHSanaei/3x-ui/commit/510db89560e5be437cf9429b33bd3848c6401604) feat(tgbot): add Sub ID and Flow (for VLESS with TCP(raw) and Reality/TLS) selection in client-creation menu. - [`ee92032`](https://github.com/MHSanaei/3x-ui/commit/ee920322bedccae82d38bd5213a534d377fd6684) Update web/service/tgbot.go - [`9b494e0`](https://github.com/MHSanaei/3x-ui/commit/9b494e055fcd7d85bb74e0ae97f31d340e576c77) Merge branch 'MHSanaei:main' into feature/tgbot-new-client-creation-params - [`c869c3f`](https://github.com/MHSanaei/3x-ui/commit/c869c3fc4a139c281bec08a904fe4e7f5e73349a) fix(tgbot): improve client creation UX, Sub ID validation and RTL support - [`64bfb8f`](https://github.com/MHSanaei/3x-ui/commit/64bfb8f6b612bcc9ed4761ad38f7aedaa95f3af0) fix: add missing sub_id and flow translation for zn-CN, zh-TW and vi-VN - [`f6ae9b9`](https://github.com/MHSanaei/3x-ui/commit/f6ae9b985841a5af4348817718d656614d58a2cb) Merge branch 'main' into feature/tgbot-new-client-creation-params - [`9d9ae03`](https://github.com/MHSanaei/3x-ui/commit/9d9ae03095ecae5404fe94507d5d650cc29f6360) Update es_Es.toml - [`9761ef4`](https://github.com/MHSanaei/3x-ui/commit/9761ef4dcf31abd7873cdca970fc43b6f5d06ee7) Update vi_VN.toml - [`b19003e`](https://github.com/MHSanaei/3x-ui/commit/b19003ea0d1cb02be04051b04f56b77ec615405c) Merge branch 'main' into feature/tgbot-new-client-creation-params - [`eb9f5ce`](https://github.com/MHSanaei/3x-ui/commit/eb9f5ce3f685477fd54be636a004d0533b6309be) Merge branch 'main' into feature/tgbot-new-client-creation-params ### 📊 Changes **14 files changed** (+2040 additions, -1696 deletions) <details> <summary>View changed files</summary> 📝 `web/service/tgbot.go` (+249 -4) 📝 `web/translation/translate.ar_EG.toml` (+9 -0) 📝 `web/translation/translate.en_US.toml` (+9 -0) 📝 `web/translation/translate.es_ES.toml` (+846 -846) 📝 `web/translation/translate.fa_IR.toml` (+9 -0) 📝 `web/translation/translate.id_ID.toml` (+9 -0) 📝 `web/translation/translate.ja_JP.toml` (+9 -0) 📝 `web/translation/translate.pt_BR.toml` (+9 -0) 📝 `web/translation/translate.ru_RU.toml` (+9 -0) 📝 `web/translation/translate.tr_TR.toml` (+9 -0) 📝 `web/translation/translate.uk_UA.toml` (+9 -0) 📝 `web/translation/translate.vi_VN.toml` (+846 -846) 📝 `web/translation/translate.zh_CN.toml` (+9 -0) 📝 `web/translation/translate.zh_TW.toml` (+9 -0) </details> ### 📄 Description ## What is the pull request? Added the ability to customize Sub ID and Flow settings directly via the Telegram bot for supported protocols (VLESS, VMESS, Trojan, Shadowsocks). - Customization: Users can now set a specific Sub ID and choose the Flow (xtls-rprx-vision, xtls-rprx-vision-udp443 and Empty) during client creation in the bot. - Note: The Flow configuration is only applicable and available for VLESS inbounds configured with TCP(raw) transport using TLS or Reality security. - Localization: Updated all 13+ language files (.toml) to include the new UI elements, ensuring consistent support across all locales. - Note: Normalized CRLF to LF in translate.vi_VN.toml and translate.es_ES.toml. Use "Hide whitespace" in diff to see the actual changes. Resolves #3881, #3700 ## Which part of the application is affected by the change? - [ ] Frontend - [x] Backend ## Type of Changes - [ ] Bug fix - [x] New feature - [ ] Refactoring - [ ] Other ## Screenshots <img width="467" height="568" alt="image" src="https://github.com/user-attachments/assets/31e54e8e-73ea-416b-a13e-534fcf2d1a91" /> <img width="546" height="741" alt="image" src="https://github.com/user-attachments/assets/e8921733-66a2-4ad9-ada1-b00674c214b4" /> <img width="544" height="593" alt="image" src="https://github.com/user-attachments/assets/a6e576f7-001c-457d-95dd-965cc4cc6309" /> <img width="465" height="498" alt="image" src="https://github.com/user-attachments/assets/d76a14b0-a181-4410-ad26-2997a3ca559d" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:43 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5547
No description provided.