isValidPayload

fun isValidPayload(payload: Map<String, Any?>): Boolean

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.