[PR #2964] [CLOSED] Telegram Bot New Feature (Reset All Traffics button) #5309

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

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2964
Author: @nistootsin
Created: 5/2/2025
Status: ❌ Closed

Base: main ← Head: bot_develop


📝 Commits (3)

  • e297c50 Add a new button to but : Reset All Clients
  • 7e41bb2 handel translation for Reset All Clients button
  • bf0f1aa refactoring

📊 Changes

14 files changed (+101 additions, -1 deletions)

View changed files

📝 web/service/tgbot.go (+35 -0)
📝 web/translation/translate.ar_EG.toml (+5 -0)
📝 web/translation/translate.en_US.toml (+5 -0)
📝 web/translation/translate.es_ES.toml (+5 -0)
📝 web/translation/translate.fa_IR.toml (+5 -0)
📝 web/translation/translate.id_ID.toml (+5 -1)
📝 web/translation/translate.ja_JP.toml (+6 -0)
📝 web/translation/translate.pt_BR.toml (+5 -0)
📝 web/translation/translate.ru_RU.toml (+5 -0)
📝 web/translation/translate.tr_TR.toml (+5 -0)
📝 web/translation/translate.uk_UA.toml (+5 -0)
📝 web/translation/translate.vi_VN.toml (+5 -0)
📝 web/translation/translate.zh_CN.toml (+5 -0)
📝 web/translation/translate.zh_TW.toml (+5 -0)

📄 Description

  • Added a new inline button labeled "Reset All Traffic" to the admin control panel.

✅ Usage

  1. Admin opens the bot's control panel.
  2. Taps on "Reset All Traffic".
  3. Confirms the reset via a confirmation prompt.
  4. All traffics are reset, and a success message is sent.

🔄 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/2964 **Author:** [@nistootsin](https://github.com/nistootsin) **Created:** 5/2/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bot_develop` --- ### 📝 Commits (3) - [`e297c50`](https://github.com/MHSanaei/3x-ui/commit/e297c504bea3954d19cc8270e63c397c9f2a408a) Add a new button to but : Reset All Clients - [`7e41bb2`](https://github.com/MHSanaei/3x-ui/commit/7e41bb2e816efa83ca1317928ec479819fd5d25a) handel translation for `Reset All Clients` button - [`bf0f1aa`](https://github.com/MHSanaei/3x-ui/commit/bf0f1aabc931e0f3042599e79f90951c70f84bf4) refactoring ### 📊 Changes **14 files changed** (+101 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `web/service/tgbot.go` (+35 -0) 📝 `web/translation/translate.ar_EG.toml` (+5 -0) 📝 `web/translation/translate.en_US.toml` (+5 -0) 📝 `web/translation/translate.es_ES.toml` (+5 -0) 📝 `web/translation/translate.fa_IR.toml` (+5 -0) 📝 `web/translation/translate.id_ID.toml` (+5 -1) 📝 `web/translation/translate.ja_JP.toml` (+6 -0) 📝 `web/translation/translate.pt_BR.toml` (+5 -0) 📝 `web/translation/translate.ru_RU.toml` (+5 -0) 📝 `web/translation/translate.tr_TR.toml` (+5 -0) 📝 `web/translation/translate.uk_UA.toml` (+5 -0) 📝 `web/translation/translate.vi_VN.toml` (+5 -0) 📝 `web/translation/translate.zh_CN.toml` (+5 -0) 📝 `web/translation/translate.zh_TW.toml` (+5 -0) </details> ### 📄 Description - Added a new inline button labeled **"Reset All Traffic"** to the admin control panel. #### ✅ Usage 1. Admin opens the bot's control panel. 2. Taps on **"Reset All Traffic"**. 3. Confirms the reset via a confirmation prompt. 4. All traffics are reset, and a success message is sent. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:46:05 +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#5309
No description provided.