From 64a755480a662c2949bfc6616ee0fa1c0dabde6d Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Tue, 1 Dec 2015 21:27:26 -0800 Subject: [PATCH] Revert "Feature/telegram channel support" --- plexpy/config.py | 4 ++-- plexpy/notifiers.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plexpy/config.py b/plexpy/config.py index e772ffae..08054742 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -250,7 +250,7 @@ _CONFIG_DEFINITIONS = { 'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1), 'TELEGRAM_BOT_TOKEN': (str, 'Telegram', ''), 'TELEGRAM_ENABLED': (int, 'Telegram', 0), - 'TELEGRAM_CHAT_ID': (str, 'Telegram', ''), + 'TELEGRAM_CHAT_ID': (int, 'Telegram', 0), 'TELEGRAM_ON_PLAY': (int, 'Telegram', 0), 'TELEGRAM_ON_STOP': (int, 'Telegram', 0), 'TELEGRAM_ON_PAUSE': (int, 'Telegram', 0), @@ -409,4 +409,4 @@ class Config(object): if self.VIDEO_LOGGING_ENABLE == 0: self.MOVIE_LOGGING_ENABLE = 0 self.TV_LOGGING_ENABLE = 0 - self.CONFIG_VERSION = '1' + self.CONFIG_VERSION = '1' \ No newline at end of file diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index e5447142..c072cefc 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -1526,7 +1526,7 @@ class TELEGRAM(object): {'label': 'Telegram Chat ID', 'value': self.chat_id, 'name': 'telegram_chat_id', - 'description': 'Your Telegram Chat ID, Group ID, or channel username. Contact @myidbot on Telegram to get an ID.', + 'description': 'Your Telegram Chat ID or Group ID. Contact @myidbot on Telegram to get an ID.', 'input_type': 'text' } ]