API Reference
NTFYAction
NTFYAction.clearOnClick()
NTFYAction.format_json()
NTFYBroadcastAction
NTFYHttpAction
NTFYViewAction
action (str) – action’s type
str
label (str) – action’s label
clearOnClick
clear (bool) – whether or not to clear the notification after action button is tapped
bool
format_json
Extends NTFYAction
addExtra
name (str) – name of the extra
value (str) – value of the extra
url (str) – action’s url
setMethod
method (METHOD) – method to set
METHOD
addHeader
name (str) – name of the header
value (str) – value of the header
format_header