client.toast

Creates an app alert notification.

Parameter
Type
Description

type

String

The type of alert. (error, warning, info, or success)

message

String

The content of the notification.

Example Usage

execute(client, message, args) {
   client.toast("info", "This is a test notification");
},

Last updated