OlmPayloadContent

@JsonClass(generateAdapter = true)
data class OlmPayloadContent(    @Json(name = "room_id") val roomId: String? = null,     @Json(name = "sender") val sender: String? = null,     @Json(name = "recipient") val recipient: String? = null,     @Json(name = "recipient_keys") val recipientKeys: Map<String, String>? = null,     @Json(name = "keys") val keys: Map<String, String>? = null)

Class representing the OLM payload content.

Constructors

Link copied to clipboard
fun OlmPayloadContent(    @Json(name = "room_id") roomId: String? = null,     @Json(name = "sender") sender: String? = null,     @Json(name = "recipient") recipient: String? = null,     @Json(name = "recipient_keys") recipientKeys: Map<String, String>? = null,     @Json(name = "keys") keys: Map<String, String>? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun toJsonString(): String

Properties

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

The keys.

Link copied to clipboard
val recipient: String? = null

The recipient.

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

The recipient keys.

Link copied to clipboard
val roomId: String? = null

The room id.

Link copied to clipboard
val sender: String? = null

The sender.