Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Notification

import type { Notification } from "https://googleapis.deno.dev/v1/fcm:v1.ts";

Basic notification template to use across all platforms.

interface Notification {
body?: string;
image?: string;
title?: string;
}

§Properties

§
body?: string
[src]

The notification's body text.

§
image?: string
[src]

Contains the URL of an image that is going to be downloaded on the device and displayed in a notification. JPEG, PNG, BMP have full support across platforms. Animated GIF and video only work on iOS. WebP and HEIF have varying levels of support across platforms and platform versions. Android has 1MB image size limit. Quota usage and implications/costs for hosting image on Firebase Storage: https://firebase.google.com/pricing

§
title?: string
[src]

The notification's title.