FirebaseAdmin.Messaging.Message

Represents a message that can be sent via Firebase Cloud Messaging (FCM).

Summary

Contains payload information as well as the recipient information. The recipient information must be specified by setting exactly one of the Token, Topic or Condition fields.

Properties

Android
Gets or sets the Android-specific information to be included in the message.
Apns
Gets or sets the APNs-specific information to be included in the message.
Condition
string
Gets or sets the FCM condition to which the message should be sent.
Data
IReadOnlyDictionary< string, string >
Gets or sets a collection of key-value pairs that will be added to the message as data fields.
Notification
Gets or sets the notification information to be included in the message.
Token
string
Gets or sets the registration token of the device to which the message should be sent.
Topic
string
Gets or sets the name of the FCM topic to which the message should be sent.
Webpush
Gets or sets the Webpush-specific information to be included in the message.

Properties

Android

AndroidConfig Android

Gets or sets the Android-specific information to be included in the message.

Apns

ApnsConfig Apns

Gets or sets the APNs-specific information to be included in the message.

Condition

string Condition

Gets or sets the FCM condition to which the message should be sent.

Must be a valid condition string such as "'foo' in topics".

Data

IReadOnlyDictionary< string, string > Data

Gets or sets a collection of key-value pairs that will be added to the message as data fields.

Keys and the values must not be null.

Notification

Notification Notification

Gets or sets the notification information to be included in the message.

Token

string Token

Gets or sets the registration token of the device to which the message should be sent.

Topic

string Topic

Gets or sets the name of the FCM topic to which the message should be sent.

Topic names may contain the /topics/ prefix.

Webpush

WebpushConfig Webpush

Gets or sets the Webpush-specific information to be included in the message.

Enviar comentarios sobre...

Si necesitas ayuda, visita nuestra página de asistencia.