React Native Firebase
    Preparing search index...

    The RemoteMessage interface describes an outgoing & incoming message from the remote FCM server.

    interface RemoteMessage {
        category?: string;
        collapseKey?: string;
        contentAvailable?: boolean;
        data?: { [key: string]: string | object };
        fcmOptions: FcmOptions;
        from?: string;
        messageId?: string;
        messageType?: string;
        mutableContent?: boolean;
        notification?: Notification;
        originalPriority?: MessagePriority;
        priority?: MessagePriority;
        sentTime?: number;
        threadId?: string;
        to?: string;
        ttl?: number;
    }
    Index

    Properties

    category?: string

    The iOS category this notification is assigned to.

    collapseKey?: string

    The collapse key a message was sent with. Used to override existing messages with the same key.

    contentAvailable?: boolean

    Whether the iOS APNs message was configured as a background update notification.

    data?: { [key: string]: string | object }

    Any additional data sent with the message.

    fcmOptions: FcmOptions

    Options for features provided by the FCM SDK for Web.

    from?: string

    The topic name or message identifier.

    messageId?: string

    A unique ID assigned to every message.

    If not provided, a random unique ID is generated.

    messageType?: string

    The message type of the message.

    mutableContent?: boolean

    Whether the iOS APNs mutable-content property on the message was set allowing the app to modify the notification via app extensions.

    notification?: Notification

    Additional NotificationPayload data sent with the message

    originalPriority?: MessagePriority

    Original priority - android-specific, undefined on non-android platforms, default PRIORITY_UNKNOWN

    priority?: MessagePriority

    Priority - android-specific, undefined on non-android platforms, default PRIORITY_UNKNOWN

    sentTime?: number

    The time the message was sent, in milliseconds since the start of unix epoch

    threadId?: string

    An iOS app specific identifier used for notification grouping.

    to?: string

    The address for the message.

    ttl?: number

    The time to live for the message in seconds.

    Defaults to 3600.