[PR #1379] [CLOSED] Add socks5 proxy option for telegram bot #4906

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

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/1379
Author: @surbiks
Created: 12/14/2023
Status: ❌ Closed

Base: main ← Head: add-socks5-proxy-option-for-telegram-bot


📝 Commits (6)

  • b6c787f add ui proxy setting
  • dfdcebc use socks in tg bot
  • 84bacc1 Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot
  • 0899740 Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot
  • 78379f2 Merge branch 'main' into add-socks5-proxy-option-for-telegram-bot
  • 6639ca3 Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot

📊 Changes

7 files changed (+43 additions, -3 deletions)

View changed files

📝 web/assets/js/model/setting.js (+1 -0)
📝 web/entity/entity.go (+1 -0)
📝 web/html/xui/settings.html (+1 -0)
📝 web/service/setting.go (+9 -0)
📝 web/service/tgbot.go (+28 -1)
📝 web/translation/translate.en_US.toml (+0 -1)
📝 xray/api.go (+3 -1)

📄 Description

if you install 3x-ui panel in the Iranian server or other providers that Telegram is blocked you can't use the Telegram bot feature. in this pull request, I added socks5 option to telegram bot settings in 3x-ui. you can set socks5 proxy. need set the socks URL as this socks5://username:password@host:port. (user & pass is optional)


🔄 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/1379 **Author:** [@surbiks](https://github.com/surbiks) **Created:** 12/14/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-socks5-proxy-option-for-telegram-bot` --- ### 📝 Commits (6) - [`b6c787f`](https://github.com/MHSanaei/3x-ui/commit/b6c787f5d7885b31b96183e3909197fafa932443) add ui proxy setting - [`dfdcebc`](https://github.com/MHSanaei/3x-ui/commit/dfdcebc28215f177169d545166991a1104d01a75) use socks in tg bot - [`84bacc1`](https://github.com/MHSanaei/3x-ui/commit/84bacc1aff34b7a67924edfb66e41dc8156a0c74) Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot - [`0899740`](https://github.com/MHSanaei/3x-ui/commit/0899740e944dba53de3ad6e19e50dec2c3732859) Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot - [`78379f2`](https://github.com/MHSanaei/3x-ui/commit/78379f2310254ee877de6801ae58f7d9163f3085) Merge branch 'main' into add-socks5-proxy-option-for-telegram-bot - [`6639ca3`](https://github.com/MHSanaei/3x-ui/commit/6639ca3ef3fc31e8615ef504e6289f41760b8ec9) Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot ### 📊 Changes **7 files changed** (+43 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `web/assets/js/model/setting.js` (+1 -0) 📝 `web/entity/entity.go` (+1 -0) 📝 `web/html/xui/settings.html` (+1 -0) 📝 `web/service/setting.go` (+9 -0) 📝 `web/service/tgbot.go` (+28 -1) 📝 `web/translation/translate.en_US.toml` (+0 -1) 📝 `xray/api.go` (+3 -1) </details> ### 📄 Description if you install 3x-ui panel in the Iranian server or other providers that Telegram is blocked you can't use the Telegram bot feature. in this pull request, I added socks5 option to telegram bot settings in 3x-ui. you can set socks5 proxy. need set the socks URL as this `socks5://username:password@host:port`. (user & pass is optional) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:43:28 +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#4906
No description provided.