react-native-notify-kit

react-native-notify-kit / AndroidMessagingStyleMessage

Interface: AndroidMessagingStyleMessage

Defined in: packages/react-native/src/types/NotificationAndroid.ts:736

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

Defined in: packages/react-native/src/types/NotificationAndroid.ts:753

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

Defined in: packages/react-native/src/types/NotificationAndroid.ts:740

The content of the message.

timestamp

timestamp: number

Defined in: packages/react-native/src/types/NotificationAndroid.ts:745

The timestamp of when the message arrived in milliseconds.