mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2584] [MERGED] feat(tgbot): Add the option to change the telegram API server #5160
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#5160
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/2584
Author: @MadrinX
Created: 10/16/2024
Status: ✅ Merged
Merged: 10/17/2024
Merged by: @MHSanaei
Base:
main← Head:main📝 Commits (4)
85da830feat(tgbot): Add the option to change the telegram API serverd04db44feat(tgbot): Add validate for API Server URL506e3eefix(tgbot): missed variable name change4a7bbc1Refactor Tgbot creation and improve logging📊 Changes
16 files changed (+73 additions, -19 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(+31 -11)📝
web/translation/translate.en_US.toml(+2 -0)📝
web/translation/translate.es_ES.toml(+3 -1)📝
web/translation/translate.fa_IR.toml(+3 -1)📝
web/translation/translate.id_ID.toml(+3 -1)📝
web/translation/translate.pt_BR.toml(+2 -0)📝
web/translation/translate.ru_RU.toml(+2 -0)📝
web/translation/translate.tr_TR.toml(+3 -1)📝
web/translation/translate.uk_UA.toml(+3 -1)📝
web/translation/translate.vi_VN.toml(+3 -1)📝
web/translation/translate.zh_CN.toml(+3 -1)📝
web/translation/translate.zh_TW.toml(+3 -1)📄 Description
If someone has a custom bot API server or proxied API server this lets them use it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.