Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-03-24 UTC."],[],[],null,["FirebaseAdmin.Messaging.Message\n\nRepresents a message that can be sent via Firebase Cloud [Messaging](/docs/reference/admin/dotnet/namespace/firebase-admin/messaging#namespace_firebase_admin_1_1_messaging) (FCM).\n\nSummary\n\nContains payload information as well as the recipient information. The recipient information must be specified by setting exactly one of the [Token](/docs/reference/admin/dotnet/class/firebase-admin/messaging/message#class_firebase_admin_1_1_messaging_1_1_message_1a46ff329980e0a7c781f613662a36bc47), [Topic](/docs/reference/admin/dotnet/class/firebase-admin/messaging/message#class_firebase_admin_1_1_messaging_1_1_message_1a0ac14aae4cec3b8e5dfbf83c05b8fc61) or [Condition](/docs/reference/admin/dotnet/class/firebase-admin/messaging/message#class_firebase_admin_1_1_messaging_1_1_message_1a6d1ea27a99dc64d81b3ba4fa76800e7d) fields.\n\nProperties \n\nAndroid \n\n```text\nAndroidConfig Android\n``` \nGets or sets the Android-specific information to be included in the message. \n\nApns \n\n```text\nApnsConfig Apns\n``` \nGets or sets the APNs-specific information to be included in the message. \n\nCondition \n\n```text\nstring Condition\n``` \nGets or sets the FCM condition to which the message should be sent.\n\nMust be a valid condition string such as `\"'foo' in topics\"`. \n\nData \n\n```text\nIReadOnlyDictionary\u003c string, string \u003e Data\n``` \nGets or sets a collection of key-value pairs that will be added to the message as data fields.\n\nKeys and the values must not be null. \n\nFcmOptions \n\n```text\nFcmOptions FcmOptions\n``` \nGets or sets the FCM options to be included in the message. \n\nNotification \n\n```text\nNotification Notification\n``` \nGets or sets the notification information to be included in the message. \n\nToken \n\n```text\nstring Token\n``` \nGets or sets the registration token of the device to which the message should be sent. \n\nTopic \n\n```text\nstring Topic\n``` \nGets or sets the name of the FCM topic to which the message should be sent.\n\nTopic names may contain the `/topics/` prefix. \n\nWebpush \n\n```text\nWebpushConfig Webpush\n``` \nGets or sets the Webpush-specific information to be included in the message."]]