Tutorial: Notification.sendMessage

Notification.sendMessage

Sends a message to the notification

Example

var notification = fin.Notification.create({ url: 'https://openfin.co' });
notification.show().then(() => {
    notification.sendMessage('Hello, World!').then(() => console.log('Message sent')).catch(err => console.log(err));
}).catch(err => console.log(err));