fix: telegram notification thread IDs to be empty and add note about Telegram Group Chat ID format in environment variables documentation

This commit is contained in:
kastov
2025-05-11 17:19:04 +03:00
parent cc01cf01b8
commit a55d782de4
2 changed files with 9 additions and 4 deletions

View File

@@ -168,6 +168,11 @@ JWT_API_TOKENS_SECRET=strong_secret_key
| `TELEGRAM_NOTIFY_USERS_THREAD_ID` | The topic id of Telegram group | | |
| `TELEGRAM_NOTIFY_NODES_THREAD_ID` | The topic id of Telegram group | | |
:::note
Telegram Group Chat ID is always starts with `-100`.
:::
<details>
<summary>Example</summary>
@@ -186,8 +191,8 @@ TELEGRAM_NOTIFY_USERS_CHAT_ID=change_me
TELEGRAM_NOTIFY_NODES_CHAT_ID=change_me
# Optional, if you want to send notifications to specific topics in Telegram group
TELEGRAM_NOTIFY_USERS_THREAD_ID=1
TELEGRAM_NOTIFY_NODES_THREAD_ID=2
TELEGRAM_NOTIFY_USERS_THREAD_ID=
TELEGRAM_NOTIFY_NODES_THREAD_ID=
```
</details>