Skip to content

Comments

feat(plugin): add Telegram notification callback#1355

Merged
Zeyi-Lin merged 1 commit intoSwanHubX:mainfrom
Talljack:yugangcao/add-telegram-notification-plugin
Dec 5, 2025
Merged

feat(plugin): add Telegram notification callback#1355
Zeyi-Lin merged 1 commit intoSwanHubX:mainfrom
Talljack:yugangcao/add-telegram-notification-plugin

Conversation

@Talljack
Copy link
Contributor

@Talljack Talljack commented Dec 4, 2025

  • Add TelegramBot class for Telegram Bot API communication
  • Add TelegramCallback class with bilingual support (en/zh)
  • Support notification on experiment start (optional) and stop
  • Support success/error/offline mode notifications
  • Add comprehensive unit tests (30 test cases)
  • Add integration test script following notification_bark.py style
  • Export TelegramCallback in plugin init.py

Description

Please include a concise summary, in clear English, of the changes in this pull request. If it closes an issue, please
mention it here.

Closes: #(issue)

🎯 PRs Should Target Issues

Before your create a PR, please check to see if there is an existing issue
for this change. If not, please create an issue before you create this PR, unless the fix is very small.

Not adhering to this guideline will result in the PR being closed.

- Add TelegramBot class for Telegram Bot API communication
- Add TelegramCallback class with bilingual support (en/zh)
- Support notification on experiment start (optional) and stop
- Support success/error/offline mode notifications
- Add comprehensive unit tests (30 test cases)
- Add integration test script following notification_bark.py style
- Export TelegramCallback in plugin __init__.py
@Zeyi-Lin Zeyi-Lin self-requested a review December 5, 2025 06:03
@Zeyi-Lin Zeyi-Lin self-assigned this Dec 5, 2025
@Zeyi-Lin Zeyi-Lin added the 💪 enhancement New feature or request label Dec 5, 2025
@Zeyi-Lin
Copy link
Member

Zeyi-Lin commented Dec 5, 2025

LGTM

@Zeyi-Lin Zeyi-Lin merged commit dcd8c69 into SwanHubX:main Dec 5, 2025
5 checks passed
@Talljack Talljack deleted the yugangcao/add-telegram-notification-plugin branch December 5, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants