RoomKeyContent

@JsonClass(generateAdapter = true)
data class RoomKeyContent(    @Json(name = "algorithm") val algorithm: String? = null,     @Json(name = "room_id") val roomId: String? = null,     @Json(name = "session_id") val sessionId: String? = null,     @Json(name = "session_key") val sessionKey: String? = null,     @Json(name = "chain_index") val chainIndex: Any? = null,     @Json(name = "org.matrix.msc3061.shared_history") val sharedHistory: Boolean? = false)

Class representing an sharekey content.

Constructors

Link copied to clipboard
fun RoomKeyContent(    @Json(name = "algorithm") algorithm: String? = null,     @Json(name = "room_id") roomId: String? = null,     @Json(name = "session_id") sessionId: String? = null,     @Json(name = "session_key") sessionKey: String? = null,     @Json(name = "chain_index") chainIndex: Any? = null,     @Json(name = "org.matrix.msc3061.shared_history") sharedHistory: Boolean? = false)

Properties

Link copied to clipboard
val algorithm: String? = null
Link copied to clipboard
val chainIndex: Any? = null
Link copied to clipboard
val roomId: String? = null
Link copied to clipboard
val sessionId: String? = null
Link copied to clipboard
val sessionKey: String? = null
Link copied to clipboard
val sharedHistory: Boolean? = false

MSC3061 Identifies keys that were sent when the room's visibility setting was set to world_readable or shared.