Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

small improvement

Blue Mouseb3c871bc6e4c
diff --git a/.env.example b/.env.example
index 0d037c92b..44f576299 100644
--- a/.env.example
+++ b/.env.example
@@ -74,4 +74,4 @@ TELEGRAM_BOT_TOKEN=''
TELEGRAM_WEBHOOK_DOMAIN='' # domain name
TELEGRAM_WEBHOOK_PATH='/v1/telegram/webhook'
TELEGRAM_WEBHOOK_IP_ADDRESS='' # server ip address
-TELEGRAM_WEBHOOK_SECRET_TOKEN='' # random string
+TELEGRAM_WEBHOOK_SECRET_TOKEN='' # random string; Only characters A-Z, a-z, 0-9, _ and - are allowed, length of 1-256 characters.
diff --git a/src/integrations/telegram/telegram.module.ts b/src/integrations/telegram/telegram.module.ts
index deabc1b25..596487783 100644
--- a/src/integrations/telegram/telegram.module.ts
+++ b/src/integrations/telegram/telegram.module.ts
@@ -25,9 +25,9 @@ import { TelegramService } from './telegram.service'
webhook: {
domain: configService.get<string>('TELEGRAM_WEBHOOK_DOMAIN'),
hookPath: configService.get<string>('TELEGRAM_WEBHOOK_PATH'),
- ipAddress: configService.get<string>(
- 'TELEGRAM_WEBHOOK_IP_ADDRESS',
- ),
+ // ipAddress: configService.get<string>(
+ // 'TELEGRAM_WEBHOOK_IP_ADDRESS',
+ // ),
maxConnections: 100,
secretToken: configService.get<string>(
'TELEGRAM_WEBHOOK_SECRET_TOKEN',