Skip to content

Fix send_all & send_multicast snippet comment to match implementation #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions snippets/messaging/cloud_messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def unsubscribe_from_topic():
def send_all():
registration_token = 'YOUR_REGISTRATION_TOKEN'
# [START send_all]
# Create a list containing up to 100 messages.
# Create a list containing up to 500 messages.
messages = [
messaging.Message(
notification=messaging.Notification('Price drop', '5% off all electronics'),
Expand All @@ -247,7 +247,7 @@ def send_all():

def send_multicast():
# [START send_multicast]
# Create a list containing up to 100 registration tokens.
# Create a list containing up to 500 registration tokens.
# These registration tokens come from the client FCM SDKs.
registration_tokens = [
'YOUR_REGISTRATION_TOKEN_1',
Expand Down