-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1315 from crazy-max/docs-migration-4.29
docs: migration notes for telegram notification
- Loading branch information
Showing
4 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Diun v4.28 to v4.29 | ||
|
||
## Telegram `chatdIDs` and `chatIDsFile` attributes change | ||
|
||
The `chatIDs` attribute has changed from a list of integers to a list of | ||
strings. If you are using Telegram notifications, you need to update your | ||
configuration file: | ||
|
||
!!! example "v4.1" | ||
```yaml | ||
notif: | ||
telegram: | ||
token: aabbccdd:11223344 | ||
chatIDs: | ||
- 123456789 | ||
- 987654321 | ||
``` | ||
|
||
!!! example "v4.29" | ||
```yaml | ||
notif: | ||
telegram: | ||
token: aabbccdd:11223344 | ||
chatIDs: | ||
- "123456789" | ||
- "987654321" | ||
``` | ||
|
||
The same applies for the `chatIDsFile` attribute content: | ||
|
||
!!! example "v4.1" | ||
```json | ||
[123456789,987654321] | ||
``` | ||
|
||
!!! example "v4.29" | ||
```json | ||
["123456789","987654321"] | ||
``` | ||
|
||
More information on [Telegram notifications](../notif/telegram.md#configuration) page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters