View Source GoogleApi.FCM.V1.Model.SendMessageRequest (google_api_fcm v0.11.0)

Request to send a message to specified target.

Attributes

  • message (type: GoogleApi.FCM.V1.Model.Message.t, default: nil) - Required. Message to send.
  • validateOnly (type: boolean(), default: nil) - Flag for testing the request without actually delivering the message.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.FCM.V1.Model.SendMessageRequest{
  message: GoogleApi.FCM.V1.Model.Message.t() | nil,
  validateOnly: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.