0
0
mirror of https://github.com/crazy-max/diun.git synced 2024-12-22 19:38:28 +00:00
crazy-max_diun/docs/migration/v4.1-to-v4.29.md

42 lines
861 B
Markdown

# 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.