NotificationPayload

@Serializable
data class NotificationPayload(val msgcnt: String? = null, var body: String? = null, val sound: String? = null, var message: String? = null, val notificationSource: String? = null, var title: String? = null, val messageId: String? = null, val created: String = MessageTimeHelper.getISO8601StringForCurrentDate())

Constructors

Link copied to clipboard
constructor(msgcnt: String? = null, body: String? = null, sound: String? = null, message: String? = null, notificationSource: String? = null, title: String? = null, messageId: String? = null, created: String = MessageTimeHelper.getISO8601StringForCurrentDate())

Properties

Link copied to clipboard
@SerialName(value = "body")
var body: String?
Link copied to clipboard
@SerialName(value = "created")
val created: String
Link copied to clipboard
@SerialName(value = "message")
var message: String?
Link copied to clipboard
@SerialName(value = "chat_id")
val messageId: String?
Link copied to clipboard
@SerialName(value = "msgcnt")
val msgcnt: String?
Link copied to clipboard
@SerialName(value = "notification_source")
val notificationSource: String?
Link copied to clipboard
@SerialName(value = "sound")
val sound: String?
Link copied to clipboard
@SerialName(value = "title")
var title: String?