Modifies any property of the user push notification.

Syntax
.notificationEdit(/notification_id/, /data/)

Arguments

Field nameTypeDescription
notification_id
string
Reference ID of the notification. 
data
object
Options to be modified in the notification. 
title
string
[optional]
A title for the notification.
message
string
[optional] 
Message for the notification. 
buttons array of object
[optional] 
Phone for the run user. 
label
string
[optional]
Label for the notification button. 
analysis string
[optional]
analysis_id for the notification button. This analysis is ran when the button is pressed.
url string
[optional]
URL for the notification button. Opens a link when the button is pressed. 
color
string
[optional]
Color of the notification button. Accepts hexadecimal colors, like: ‘#bcbcbc’. 

Returns {Promise<JSON>}