├ 15

batch

Send up to 100 messages in a single call. Dispatched through a Cloudflare Queue with automatic retries.

const tickets = await client.sendBatch([
  { to: token1, title: "Hi Alice" },
  { to: token2, title: "Hi Bob" },
]);

const receipts = await client.getReceipts(tickets.map((t) => t.id));