MessageHeader

@Serializable
data class MessageHeader(val id: String, val type: MessageType, val session: String? = null, val username: String? = null, val version: String? = null, val date: String? = null)

Constructors

Link copied to clipboard
constructor(id: String, type: MessageType, session: String? = null, username: String? = null, version: String? = null, date: String? = null)

Properties

Link copied to clipboard
val date: String? = null
Link copied to clipboard
@SerialName(value = "msg_id")
val id: String
Link copied to clipboard
val session: String? = null
Link copied to clipboard
@SerialName(value = "msg_type")
val type: MessageType
Link copied to clipboard
val username: String? = null
Link copied to clipboard
val version: String? = null