CustomActionAttachment

data class CustomActionAttachment(val buttonText: String? = null, val criteria: List<CustomActionAttachmentCriteria>? = null, val notificationType: String? = null, val variables: Map<String, String>? = null)

Constructors

Link copied to clipboard
constructor(buttonText: String? = null, criteria: List<CustomActionAttachmentCriteria>? = null, notificationType: String? = null, variables: Map<String, String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val buttonText: String? = null

The text of the button that appears on the notification.

Link copied to clipboard

The criteria for when a button should be shown based on values in the notification.

Link copied to clipboard

The type of notification that the custom action should be attached to.

Link copied to clipboard
val variables: Map<String, String>? = null

The variables to extract from the notification.