ExternalNotification

data class ExternalNotification(val id: String, val title: String, val body: String, val data: Map<String, String>)

A decrypted Kindly notification passed to the host app via no.kindly.chatsdk.chat.common.KindlySDKInteraction.shouldHandleNotification.

Forwarded for every Kindly silent push received and successfully decrypted, regardless of app state or which screen is on top. Use the host callback to take over the presentation of the notification; otherwise the SDK presents it itself.

Constructors

Link copied to clipboard
constructor(id: String, title: String, body: String, data: Map<String, String>)

Properties

Link copied to clipboard

Decrypted body.

Link copied to clipboard

The original RemoteMessage.data map, including notification_source and any extra fields the backend attached. Provided so the host can read fields the SDK does not surface.

Link copied to clipboard
val id: String

Decrypted message id (from the encrypted chat_id field).

Link copied to clipboard

Decrypted title.