import { Expo } from "https://deno.land/x/expo_server_sdk_deno@1.0.4/index.ts";
Sends the given messages to their recipients via push notifications and returns an array of push tickets. Each ticket corresponds to the message at its respective index (the nth receipt is for the nth message) and contains a receipt ID. Later, after Expo attempts to deliver the messages to the underlying push notification services, the receipts with those IDs will be available for a period of time (approximately a day).
There is a limit on the number of push notifications you can send at once. Use
chunkPushNotifications
to divide an array of push notification messages into appropriately
sized chunks.
Parameters
messages: ExpoPushMessage[]
Returns
Promise<ExpoPushTicket[]>