Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Messaging#createPush

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Messaging.prototype.createPush
Re-export
import { Messaging } from "https://deno.land/x/appwrite@10.0.0/mod.ts";

Create push notification

Create a new push notification.

Parameters

messageId: string
title: string
body: string
optional
topics: string[]
optional
users: string[]
optional
targets: string[]
optional
data: object
optional
action: string
optional
image: string
optional
icon: string
optional
sound: string
optional
color: string
optional
tag: string
optional
badge: string
optional
draft: boolean
optional
scheduledAt: string