google_api_fcm v0.3.0 GoogleApi.FCM.V1.Model.Message View Source
Message to send by Firebase Cloud Messaging Service.
Attributes
android
(type:GoogleApi.FCM.V1.Model.AndroidConfig.t
, default:nil
) - Input only. Android specific options for messages sent through FCM connection server.apns
(type:GoogleApi.FCM.V1.Model.ApnsConfig.t
, default:nil
) - Input only. Apple Push Notification Service specific options.condition
(type:String.t
, default:nil
) - Condition to send a message to, e.g. "'foo' in topics && 'bar' in topics".data
(type:map()
, default:nil
) - Input only. Arbitrary key/value payload. The key should not be a reserved word ("from", "message_type", or any word starting with "google" or "gcm").fcmOptions
(type:GoogleApi.FCM.V1.Model.FcmOptions.t
, default:nil
) - Input only. Template for FCM SDK feature options to use across all platforms.name
(type:String.t
, default:nil
) - Output Only. The identifier of the message sent, in the format ofprojects/*/messages/{message_id}
.notification
(type:GoogleApi.FCM.V1.Model.Notification.t
, default:nil
) - Input only. Basic notification template to use across all platforms.token
(type:String.t
, default:nil
) - Registration token to send a message to.topic
(type:String.t
, default:nil
) - Topic name to send a message to, e.g. "weather". Note: "/topics/" prefix should not be provided.webpush
(type:GoogleApi.FCM.V1.Model.WebpushConfig.t
, default:nil
) - Input only. Webpush protocol options.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.FCM.V1.Model.Message{ android: GoogleApi.FCM.V1.Model.AndroidConfig.t(), apns: GoogleApi.FCM.V1.Model.ApnsConfig.t(), condition: String.t(), data: map(), fcmOptions: GoogleApi.FCM.V1.Model.FcmOptions.t(), name: String.t(), notification: GoogleApi.FCM.V1.Model.Notification.t(), token: String.t(), topic: String.t(), webpush: GoogleApi.FCM.V1.Model.WebpushConfig.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.