diff --git a/src/message/mod.rs b/src/message/mod.rs index 6ca73dc91..e368f5825 100644 --- a/src/message/mod.rs +++ b/src/message/mod.rs @@ -71,19 +71,19 @@ pub(crate) struct MessageInternal { /// https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages?authuser=0#resource:-message #[derive(Debug)] pub struct Message { - /// Arbitrary key/value payload, which must be UTF-8 encoded. + /// Arbitrary key/value payload, which must be UTF-8 encoded. Values must be strings. pub data: Option, /// Basic notification template to use across all platforms. pub notification: Option, - /// Android specific options for messages sent through FCM connection server. + /// Target to send a message to. pub target: Target, - /// Webpush protocol options. + /// Android specific options for messages sent through FCM connection server. pub android: Option, - /// Apple Push Notification Service specific options. + /// Webpush protocol options. pub webpush: Option, - /// Template for FCM SDK feature options to use across all platforms. + /// Apple Push Notification Service specific options. pub apns: Option, - /// Target to send a message to. + /// Template for FCM SDK feature options to use across all platforms. pub fcm_options: Option, }