Accepts the notification if it has a condition.

Syntax
.accept(/notification_id/)

Arguments

Field nameTypeDescription
notification_id
string
ID of the notification.
result
stringNotification successfully accepted.

Returns {Promise<JSON>}