Skip to content

Commit

Permalink
Merge pull request #7 from lucasmerlin/patch-1
Browse files Browse the repository at this point in the history
Update Message doc comments
  • Loading branch information
rj76 authored May 13, 2024
2 parents 4f9dedb + 4df2d20 commit cd7323c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/message/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Value>,
/// Basic notification template to use across all platforms.
pub notification: Option<Notification>,
/// 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<AndroidConfig>,
/// Apple Push Notification Service specific options.
/// Webpush protocol options.
pub webpush: Option<WebpushConfig>,
/// Template for FCM SDK feature options to use across all platforms.
/// Apple Push Notification Service specific options.
pub apns: Option<ApnsConfig>,
/// Target to send a message to.
/// Template for FCM SDK feature options to use across all platforms.
pub fcm_options: Option<FcmOptions>,
}

Expand Down

0 comments on commit cd7323c

Please sign in to comment.