@@ -38,7 +38,7 @@ const multipartBoundary = "__END_OF_PART__"
38
38
// Messaging (FCM).
39
39
//
40
40
// It contains payload information as well as the list of device registration tokens to which the
41
- // message should be sent. A single MulticastMessage may contain up to 100 registration tokens.
41
+ // message should be sent. A single MulticastMessage may contain up to 500 registration tokens.
42
42
type MulticastMessage struct {
43
43
Tokens []string
44
44
Data map [string ]string
@@ -89,7 +89,7 @@ type BatchResponse struct {
89
89
90
90
// SendAll sends the messages in the given array via Firebase Cloud Messaging.
91
91
//
92
- // The messages array may contain up to 100 messages. SendAll employs batching to send the entire
92
+ // The messages array may contain up to 500 messages. SendAll employs batching to send the entire
93
93
// array of mssages as a single RPC call. Compared to the `Send()` function,
94
94
// this is a significantly more efficient way to send multiple messages. The responses list
95
95
// obtained from the return value corresponds to the order of the input messages. An error from
@@ -105,7 +105,7 @@ func (c *fcmClient) SendAll(ctx context.Context, messages []*Message) (*BatchRes
105
105
// This function does not actually deliver any messages to target devices. Instead, it performs all
106
106
// the SDK-level and backend validations on the messages, and emulates the send operation.
107
107
//
108
- // The messages array may contain up to 100 messages. SendAllDryRun employs batching to send the
108
+ // The messages array may contain up to 500 messages. SendAllDryRun employs batching to send the
109
109
// entire array of mssages as a single RPC call. Compared to the `SendDryRun()` function, this
110
110
// is a significantly more efficient way to validate sending multiple messages. The responses list
111
111
// obtained from the return value corresponds to the order of the input messages. An error from
@@ -117,7 +117,7 @@ func (c *fcmClient) SendAllDryRun(ctx context.Context, messages []*Message) (*Ba
117
117
118
118
// SendMulticast sends the given multicast message to all the FCM registration tokens specified.
119
119
//
120
- // The tokens array in MulticastMessage may contain up to 100 tokens. SendMulticast uses the
120
+ // The tokens array in MulticastMessage may contain up to 500 tokens. SendMulticast uses the
121
121
// `SendAll()` function to send the given message to all the target recipients. The
122
122
// responses list obtained from the return value corresponds to the order of the input tokens. An
123
123
// error from SendMulticast indicates a total failure -- i.e. the message could not be sent to any
@@ -137,7 +137,7 @@ func (c *fcmClient) SendMulticast(ctx context.Context, message *MulticastMessage
137
137
// This function does not actually deliver any messages to target devices. Instead, it performs all
138
138
// the SDK-level and backend validations on the messages, and emulates the send operation.
139
139
//
140
- // The tokens array in MulticastMessage may contain up to 100 tokens. SendMulticastDryRun uses the
140
+ // The tokens array in MulticastMessage may contain up to 500 tokens. SendMulticastDryRun uses the
141
141
// `SendAllDryRun()` function to send the given message. The responses list obtained from
142
142
// the return value corresponds to the order of the input tokens. An error from SendMulticastDryRun
143
143
// indicates a total failure -- i.e. none of the messages were sent to FCM for validation. Partial
0 commit comments