Skip to content

Commit 783bdd3

Browse files
committed
Remove comments specifying downstream messages
1 parent d170cb6 commit 783bdd3

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

messaging/src/include/firebase/messaging.h

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,6 @@ struct Message {
241241
/// Authenticated ID of the sender. This is a project number in most cases.
242242
///
243243
/// 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().
247244
std::string from;
248245

249246
/// This parameter specifies the recipient of a message.
@@ -266,9 +263,6 @@ struct Message {
266263
/// This means a FCM connection server can simultaneously store 4 different
267264
/// send-to-sync messages per client app. If you exceed this number, there is
268265
/// 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().
272266
std::string collapse_key;
273267

274268
/// The metadata, including all original key/value pairs. Includes some of the
@@ -300,9 +294,6 @@ struct Message {
300294
/// Parameters: "message_id" and "error"
301295
///
302296
/// 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().
306297
std::string message_type;
307298

308299
/// Sets the priority of the message. Valid values are "normal" and "high." On
@@ -319,9 +310,6 @@ struct Message {
319310
///
320311
/// For more information, see [Setting the priority of a message][1].
321312
///
322-
/// This field is only used for downstream messages received through
323-
/// Listener::OnMessage().
324-
///
325313
/// [1]:
326314
/// https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message
327315
std::string priority;
@@ -331,24 +319,15 @@ struct Message {
331319
/// supported is 4 weeks, and the default value is 4 weeks. For more
332320
/// information, see [Setting the lifespan of a message][1].
333321
///
334-
/// This field is only used for downstream messages received through
335-
/// Listener::OnMessage().
336-
///
337322
/// [1]: https://firebase.google.com/docs/cloud-messaging/concept-options#ttl
338323
int32_t time_to_live;
339324

340325
/// Error code. Used in "nack" messages for CCS, and in responses from the
341326
/// server.
342327
/// See the CCS specification for the externally-supported list.
343-
///
344-
/// This field is only used for downstream messages received through
345-
/// Listener::OnMessage().
346328
std::string error;
347329

348330
/// Human readable details about the error.
349-
///
350-
/// This field is only used for downstream messages received through
351-
/// Listener::OnMessage().
352331
std::string error_description;
353332

354333
/// Optional notification to show. This only set if a notification was
@@ -359,9 +338,6 @@ struct Message {
359338
/// to make a copy of either the Message or Notification. Copying the Message
360339
/// object implicitly makes a deep copy of the notification (allocated with
361340
/// new) which is owned by the Message.
362-
///
363-
/// This field is only used for downstream messages received through
364-
/// Listener::OnMessage().
365341
Notification* notification;
366342

367343
/// A flag indicating whether this message was opened by tapping a
@@ -370,9 +346,6 @@ struct Message {
370346
bool notification_opened;
371347

372348
/// The link into the app from the message.
373-
///
374-
/// This field is only used for downstream messages received through
375-
/// Listener::OnMessage().
376349
std::string link;
377350

378351
/// @cond FIREBASE_APP_INTERNAL

0 commit comments

Comments
 (0)