From 86b1d0f51d06cfc316310f5acd1c4a2546ed630d Mon Sep 17 00:00:00 2001 From: samwiseg00 Date: Tue, 16 Oct 2018 16:23:56 -0400 Subject: [PATCH] Update character limit for telegram to reflect API changes. --- plexpy/notifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 9c484033..20e7ec4b 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -3409,7 +3409,7 @@ class TELEGRAM(Notifier): poster_filename = 'poster_{}.png'.format(pretty_metadata.parameters['rating_key']) files = {'photo': (poster_filename, poster_content, 'image/png')} - if len(text) > 200: + if len(text) > 1024: data['disable_notification'] = True else: data['caption'] = text