mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Add channel support to Telegram notifier
This commit is contained in:
parent
c65d9898c8
commit
bac5018b27
2 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ _CONFIG_DEFINITIONS = {
|
||||||
'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1),
|
'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1),
|
||||||
'TELEGRAM_BOT_TOKEN': (str, 'Telegram', ''),
|
'TELEGRAM_BOT_TOKEN': (str, 'Telegram', ''),
|
||||||
'TELEGRAM_ENABLED': (int, 'Telegram', 0),
|
'TELEGRAM_ENABLED': (int, 'Telegram', 0),
|
||||||
'TELEGRAM_CHAT_ID': (int, 'Telegram', 0),
|
'TELEGRAM_CHAT_ID': (str, 'Telegram', ''),
|
||||||
'TELEGRAM_ON_PLAY': (int, 'Telegram', 0),
|
'TELEGRAM_ON_PLAY': (int, 'Telegram', 0),
|
||||||
'TELEGRAM_ON_STOP': (int, 'Telegram', 0),
|
'TELEGRAM_ON_STOP': (int, 'Telegram', 0),
|
||||||
'TELEGRAM_ON_PAUSE': (int, 'Telegram', 0),
|
'TELEGRAM_ON_PAUSE': (int, 'Telegram', 0),
|
||||||
|
|
|
@ -1526,7 +1526,7 @@ class TELEGRAM(object):
|
||||||
{'label': 'Telegram Chat ID',
|
{'label': 'Telegram Chat ID',
|
||||||
'value': self.chat_id,
|
'value': self.chat_id,
|
||||||
'name': 'telegram_chat_id',
|
'name': 'telegram_chat_id',
|
||||||
'description': 'Your Telegram Chat ID or Group ID. Contact <a href="http://telegram.me/myidbot" target="_blank">@myidbot</a> on Telegram to get an ID.',
|
'description': 'Your Telegram Chat ID, Group ID, or channel username. Contact <a href="http://telegram.me/myidbot" target="_blank">@myidbot</a> on Telegram to get an ID.',
|
||||||
'input_type': 'text'
|
'input_type': 'text'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue