FCM message size restrictions

pull/335/head
Chris Caron 2020-12-26 11:51:10 -05:00
parent 21d7ef1ff4
commit e40c83dfd1
1 changed files with 6 additions and 3 deletions

View File

@ -60,9 +60,12 @@ class NotifyFCM(NotifyBase):
notify_url = \
"https://fcm.googleapis.com/v1/projects/{project}/messages:send"
# You can only send up to 1000 reg ids per bulk message when using
# the Firebase Cloud Messaging Service
default_batch_size = 1000
# The maximum length of the body
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.
title_maxlen = 0
# Define object templates
templates = (