isValidPayload
Verify the payload contains needed fields for the supported notification types.
Return
true if the payload is valid for the supported notification types.
Parameters
payload
The payload to validate.
Verify the payload contains needed fields for the supported notification types.
true if the payload is valid for the supported notification types.
The payload to validate.