From c2765d99dcac062fec84fd0d9c01a46fce3bf1b8 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 25 Jan 2020 20:41:09 -0500 Subject: [PATCH] SMS messages are 160 characters per; not 140 --- apprise/plugins/NotifyD7Networks.py | 2 +- apprise/plugins/NotifyMSG91.py | 2 +- apprise/plugins/NotifyMessageBird.py | 2 +- apprise/plugins/NotifyNexmo.py | 2 +- apprise/plugins/NotifyPushed.py | 2 +- apprise/plugins/NotifySNS.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apprise/plugins/NotifyD7Networks.py b/apprise/plugins/NotifyD7Networks.py index 114920df..e982a38c 100644 --- a/apprise/plugins/NotifyD7Networks.py +++ b/apprise/plugins/NotifyD7Networks.py @@ -94,7 +94,7 @@ class NotifyD7Networks(NotifyBase): request_rate_per_sec = 0.20 # A URL that takes you to the setup/help of the specific protocol - setup_url = 'https://github.com/caronc/apprise/wiki/Notify_twilio' + setup_url = 'https://github.com/caronc/apprise/wiki/Notify_d7networks' # D7 Networks batch notification URL notify_batch_url = 'http://rest-api.d7networks.com/secure/sendbatch' diff --git a/apprise/plugins/NotifyMSG91.py b/apprise/plugins/NotifyMSG91.py index 1425b8a7..17676bf7 100644 --- a/apprise/plugins/NotifyMSG91.py +++ b/apprise/plugins/NotifyMSG91.py @@ -98,7 +98,7 @@ class NotifyMSG91(NotifyBase): notify_url = 'https://world.msg91.com/api/sendhttp.php' # The maximum length of the body - body_maxlen = 140 + body_maxlen = 160 # A title can not be used for SMS Messages. Setting this to zero will # cause any title (if defined) to get placed into the message body. diff --git a/apprise/plugins/NotifyMessageBird.py b/apprise/plugins/NotifyMessageBird.py index b593bc21..78ac9d58 100644 --- a/apprise/plugins/NotifyMessageBird.py +++ b/apprise/plugins/NotifyMessageBird.py @@ -63,7 +63,7 @@ class NotifyMessageBird(NotifyBase): notify_url = 'https://rest.messagebird.com/messages' # The maximum length of the body - body_maxlen = 140 + body_maxlen = 160 # A title can not be used for SMS Messages. Setting this to zero will # cause any title (if defined) to get placed into the message body. diff --git a/apprise/plugins/NotifyNexmo.py b/apprise/plugins/NotifyNexmo.py index 9ae0bb75..5fd662ad 100644 --- a/apprise/plugins/NotifyNexmo.py +++ b/apprise/plugins/NotifyNexmo.py @@ -64,7 +64,7 @@ class NotifyNexmo(NotifyBase): notify_url = 'https://rest.nexmo.com/sms/json' # The maximum length of the body - body_maxlen = 140 + body_maxlen = 160 # A title can not be used for SMS Messages. Setting this to zero will # cause any title (if defined) to get placed into the message body. diff --git a/apprise/plugins/NotifyPushed.py b/apprise/plugins/NotifyPushed.py index 35e390d7..d9428393 100644 --- a/apprise/plugins/NotifyPushed.py +++ b/apprise/plugins/NotifyPushed.py @@ -68,7 +68,7 @@ class NotifyPushed(NotifyBase): title_maxlen = 0 # The maximum allowable characters allowed in the body per message - body_maxlen = 140 + body_maxlen = 160 # Define object templates templates = ( diff --git a/apprise/plugins/NotifySNS.py b/apprise/plugins/NotifySNS.py index a547558c..6045c136 100644 --- a/apprise/plugins/NotifySNS.py +++ b/apprise/plugins/NotifySNS.py @@ -89,7 +89,7 @@ class NotifySNS(NotifyBase): # The maximum length of the body # Source: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html - body_maxlen = 140 + body_maxlen = 160 # A title can not be used for SMS Messages. Setting this to zero will # cause any title (if defined) to get placed into the message body.