@@ -241,9 +241,6 @@ struct Message {
241
241
// / Authenticated ID of the sender. This is a project number in most cases.
242
242
// /
243
243
// / Any value starting with google.com, goog. or gcm. are reserved.
244
- // /
245
- // / This field is only used for downstream messages received through
246
- // / Listener::OnMessage().
247
244
std::string from;
248
245
249
246
// / This parameter specifies the recipient of a message.
@@ -266,9 +263,6 @@ struct Message {
266
263
// / This means a FCM connection server can simultaneously store 4 different
267
264
// / send-to-sync messages per client app. If you exceed this number, there is
268
265
// / no guarantee which 4 collapse keys the FCM connection server will keep.
269
- // /
270
- // / This field is only used for downstream messages received through
271
- // / Listener::OnMessage().
272
266
std::string collapse_key;
273
267
274
268
// / The metadata, including all original key/value pairs. Includes some of the
@@ -300,9 +294,6 @@ struct Message {
300
294
// / Parameters: "message_id" and "error"
301
295
// /
302
296
// / If this field is missing, the message is a regular message.
303
- // /
304
- // / This field is only used for downstream messages received through
305
- // / Listener::OnMessage().
306
297
std::string message_type;
307
298
308
299
// / Sets the priority of the message. Valid values are "normal" and "high." On
@@ -319,9 +310,6 @@ struct Message {
319
310
// /
320
311
// / For more information, see [Setting the priority of a message][1].
321
312
// /
322
- // / This field is only used for downstream messages received through
323
- // / Listener::OnMessage().
324
- // /
325
313
// / [1]:
326
314
// / https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message
327
315
std::string priority;
@@ -331,24 +319,15 @@ struct Message {
331
319
// / supported is 4 weeks, and the default value is 4 weeks. For more
332
320
// / information, see [Setting the lifespan of a message][1].
333
321
// /
334
- // / This field is only used for downstream messages received through
335
- // / Listener::OnMessage().
336
- // /
337
322
// / [1]: https://firebase.google.com/docs/cloud-messaging/concept-options#ttl
338
323
int32_t time_to_live;
339
324
340
325
// / Error code. Used in "nack" messages for CCS, and in responses from the
341
326
// / server.
342
327
// / See the CCS specification for the externally-supported list.
343
- // /
344
- // / This field is only used for downstream messages received through
345
- // / Listener::OnMessage().
346
328
std::string error;
347
329
348
330
// / Human readable details about the error.
349
- // /
350
- // / This field is only used for downstream messages received through
351
- // / Listener::OnMessage().
352
331
std::string error_description;
353
332
354
333
// / Optional notification to show. This only set if a notification was
@@ -359,9 +338,6 @@ struct Message {
359
338
// / to make a copy of either the Message or Notification. Copying the Message
360
339
// / object implicitly makes a deep copy of the notification (allocated with
361
340
// / new) which is owned by the Message.
362
- // /
363
- // / This field is only used for downstream messages received through
364
- // / Listener::OnMessage().
365
341
Notification* notification;
366
342
367
343
// / A flag indicating whether this message was opened by tapping a
@@ -370,9 +346,6 @@ struct Message {
370
346
bool notification_opened;
371
347
372
348
// / The link into the app from the message.
373
- // /
374
- // / This field is only used for downstream messages received through
375
- // / Listener::OnMessage().
376
349
std::string link;
377
350
378
351
// / @cond FIREBASE_APP_INTERNAL
0 commit comments