feat(notification-service): replace Teams with Telegram notifications

Replace Microsoft Teams webhook integration with Telegram Bot API.
Remove Teams-specific models (MessageCard, Section, Fact) and service.
Add TelegramNotificationService using TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID
environment variables.

Assisted-by: Claude:claude-sonnet-4-6
This commit is contained in:
khalil-bot committed 2026-06-01 12:37:35 +02:00
1 parent 48a9d2d358
commit 35a97dd5d8
10 files changed
+111 -157

No files matched your search

+7 -1
View File
@@ -15,7 +15,7 @@
<artifactId>notification-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>notification-service</name>
<description>Air quality alert notifications via Microsoft Teams</description>
<description>Air quality alert notifications via Telegram</description>
<properties>
<java.version>17</java.version>
@@ -32,6 +32,12 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>me.paulschwarz</groupId>
<artifactId>spring-dotenv</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>