RemoteMessage
The RemoteMessage
interface describes an outgoing & incoming message from the remote FCM server.
Properties
collapseKey
</>The collapse key a message was sent with. Used to override existing messages with the same key.
collapseKey: undefined | string;
contentAvailable
</>Whether the iOS APNs message was configured as a background update notification.
contentAvailable: undefined | false | true;
data
</>Any additional data sent with the message.
data: undefined | { [key: string]: string | object };
mutableContent
</>Whether the iOS APNs mutable-content
property on the message was set
allowing the app to modify the notification via app extensions.
mutableContent: undefined | false | true;
notification
</>Additional NotificationPayload data sent with the message
notification: NotificationPayload;
sentTime
</>The time the message was sent, in milliseconds since the start of unix epoch
sentTime: undefined | number;
threadId
</>An iOS app specific identifier used for notification grouping. threadId?: string;
threadId: undefined | string;