mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #1379] [CLOSED] Add socks5 proxy option for telegram bot #4906
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#4906
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/1379
Author: @surbiks
Created: 12/14/2023
Status: ❌ Closed
Base:
main← Head:add-socks5-proxy-option-for-telegram-bot📝 Commits (6)
b6c787fadd ui proxy settingdfdcebcuse socks in tg bot84bacc1Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot0899740Merge branch 'MHSanaei:main' into add-socks5-proxy-option-for-telegram-bot78379f2Merge branch 'main' into add-socks5-proxy-option-for-telegram-bot6639ca3Merge 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.