@notifee/react-native

@notifee/react-native / AndroidMessagingStyleMessage

Interface: AndroidMessagingStyleMessage

The interface for messages when constructing a Messaging Style notification.

View the AndroidMessagingStyle reference and Messaging documentation to learn more.

Platform

android

Properties

person?

optional person: AndroidPerson

The sender of this message. See AndroidPerson reference for more information on the properties available.

This property should only be provided if the message is from an external person, and not the person receiving the message.

text

text: string

The content of the message.

timestamp

timestamp: number

The timestamp of when the message arrived in milliseconds.