Notification interface

A notification that can be included in Message.

Signature:

export interface Notification 

Properties

Property Type Description
body string The notification body
imageUrl string URL of an image to be displayed in the notification.
title string The title of the notification.

Notification.body

The notification body

Signature:

body?: string;

Notification.imageUrl

URL of an image to be displayed in the notification.

Signature:

imageUrl?: string;

Notification.title

The title of the notification.

Signature:

title?: string;