Forwarded Room Key Content
@JsonClass(generateAdapter = true )
Content copied to clipboard
Class representing the forward room key request body content Ref: https://matrix.org/docs/spec/client_server/latest#m-forwarded-room-key
Constructors
Link copied to clipboard
fun ForwardedRoomKeyContent( @Json(name = "algorithm" ) algorithm: String? = null, @Json(name = "room_id" ) roomId: String? = null, @Json(name = "sender_key" ) senderKey: String? = null, @Json(name = "session_id" ) sessionId: String? = null, @Json(name = "session_key" ) sessionKey: String? = null, @Json(name = "forwarding_curve25519_key_chain" ) forwardingCurve25519KeyChain: List<String>? = null, @Json(name = "sender_claimed_ed25519_key" ) senderClaimedEd25519Key: String? = null, @Json(name = "org.matrix.msc3061.shared_history" ) sharedHistory: Boolean? = false)
Content copied to clipboard
Properties
Link copied to clipboard
Required. Chain of Curve25519 keys. It starts out empty, but each time the key is forwarded to another device, the previous sender in the chain is added to the end of the list. For example, if the key is forwarded from A to B to C, this field is empty between A and B, and contains A's Curve25519 key between B and C.
Link copied to clipboard