Message
import type { Message } from "https://googleapis.deno.dev/v1/fcm:v1.ts";
Message to send by Firebase Cloud Messaging Service.
§Properties
Input only. Android specific options for messages sent through FCM connection server.
Input only. Apple Push Notification Service specific options.
Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The
key should not be a reserved word ("from", "message_type", or any word
starting with "google" or "gcm"). When sending payloads containing only
data fields to iOS devices, only normal priority ("apns-priority": "5"
)
is allowed in
ApnsConfig
.
Input only. Template for FCM SDK feature options to use across all platforms.
Output Only. The identifier of the message sent, in the format of
projects/*\/messages/{message_id}
.
Input only. Basic notification template to use across all platforms.
Topic name to send a message to, e.g. "weather". Note: "/topics/" prefix should not be provided.
Input only. Webpush protocol options.