appwrite/docs/examples/1.6.x/console-web/examples/messaging/update-push.md
Bradley Schofield f4c1c72bcf Merge branch '1.6.x' into feat-update-sdk-gen
# Conflicts:
#	composer.lock
2025-01-20 16:51:52 +09:00

986 B

import { Client, Messaging, MessagePriority } from "@appwrite.io/console";

const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID

const messaging = new Messaging(client);

const result = await messaging.updatePush( '<MESSAGE_ID>', // messageId [], // topics (optional) [], // users (optional) [], // targets (optional) '