NotificationMessage

@Serializable
data class NotificationMessage(val subject: String, val message: String, val lang: String? = null, val type: String? = null)

Parameters

lang

A valid ISO 639 alpha-2 or alpha-3 language code specifying the language of the notification.

subject

Very short rendition of the notification. For example, this value will be displayed on an Apple iWatch, where the message is shown for a short time only.

message

Full notification message.

type

NotificationMessage

Constructors

Link copied to clipboard
constructor(subject: String, message: String, lang: String? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "lang")
val lang: String? = null
Link copied to clipboard
@SerialName(value = "message")
val message: String
Link copied to clipboard
@SerialName(value = "subject")
val subject: String
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null