InboundGroupSessionData

@JsonClass(generateAdapter = true)
data class InboundGroupSessionData(@Json(name = "room_id") var roomId: String? = null, @Json(name = "sender_key") var senderKey: String? = null, @Json(name = "keys_claimed") var keysClaimed: Map<String, String>? = null, @Json(name = "forwarding_curve25519_key_chain") var forwardingCurve25519KeyChain: List<String>? = emptyList(), @Json(name = "shared_history") val sharedHistory: Boolean = false, @Json(name = "trusted") val trusted: Boolean? = null)

Constructors

Link copied to clipboard
constructor(@Json(name = "room_id") roomId: String? = null, @Json(name = "sender_key") senderKey: String? = null, @Json(name = "keys_claimed") keysClaimed: Map<String, String>? = null, @Json(name = "forwarding_curve25519_key_chain") forwardingCurve25519KeyChain: List<String>? = emptyList(), @Json(name = "shared_history") sharedHistory: Boolean = false, @Json(name = "trusted") trusted: Boolean? = null)

Properties

Link copied to clipboard

Devices which forwarded this session to us (normally emty).

Link copied to clipboard

Other keys the sender claims.

Link copied to clipboard

The room in which this session is used.

Link copied to clipboard

The base64-encoded curve25519 key of the sender.

Link copied to clipboard
val sharedHistory: Boolean = false

Flag that indicates whether or not the current inboundSession will be shared to invited users to decrypt past messages.

Link copied to clipboard
val trusted: Boolean? = null

Flag indicating that this key is trusted.