Skip to content

Feat/telegram bot integration#362

Merged
Mosas2000 merged 4 commits into
StellaBridge:mainfrom
Amas-01:feature/telegram-bot
Apr 29, 2026
Merged

Feat/telegram bot integration#362
Mosas2000 merged 4 commits into
StellaBridge:mainfrom
Amas-01:feature/telegram-bot

Conversation

@Amas-01
Copy link
Copy Markdown
Contributor

@Amas-01 Amas-01 commented Apr 27, 2026

closes #161

Amas-01 added 2 commits April 27, 2026 13:21
- Add TelegramBotService with webhook support and polling fallback
- Implement message formatting with Markdown V2 escaping
- Create telegram_subscriptions schema and TimescaleDB hypertable
- Add comprehensive configuration with rate limiting controls
- Provide admin commands: /broadcast, /pause, /resume
- Support user commands: /start, /help, /status, /subscribe, /alerts
- Add 40+ unit and integration tests (90%+ coverage target)
- Include webhook handler for Telegram update delivery
- Implement dual-layer admin authorization (roles + bootstrap)
- Add Redis-based rate limiting (Telegram API limits)
- Create comprehensive documentation and setup guide
- Add Telegram env variables to .env.example

Implements closing strategy for Issue StellaBridge#161 with production-ready code.
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 27, 2026

@Amas-01 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

// Escape special characters used in markdown v2
// Characters to escape: _ * [ ] ( ) ~ ` > # + - = | { } . !
const specialChars = /([_*\[\]()~`>#\+\-=|{}.!])/g;
return text.replace(specialChars, "\\$1");
@Mosas2000
Copy link
Copy Markdown
Contributor

fix conflict

@Mosas2000
Copy link
Copy Markdown
Contributor

👀

@Mosas2000 Mosas2000 merged commit 72918c1 into StellaBridge:main Apr 29, 2026
7 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Telegram Bot Integration

3 participants