RoomKeyRequestEventContent

@Serializable
data class RoomKeyRequestEventContent(val action: KeyRequestAction, val requestingDeviceId: String, val requestId: String, val body: RoomKeyRequestEventContent.RequestedKeyInfo? = null) : ToDeviceEventContent

See also

Constructors

Link copied to clipboard
constructor(action: KeyRequestAction, requestingDeviceId: String, requestId: String, body: RoomKeyRequestEventContent.RequestedKeyInfo? = null)

Types

Link copied to clipboard
@Serializable
data class RequestedKeyInfo(val roomId: RoomId, val sessionId: String, val algorithm: EncryptionAlgorithm)

Properties

Link copied to clipboard
@SerialName(value = "action")
val action: KeyRequestAction
Link copied to clipboard
@SerialName(value = "body")
val body: RoomKeyRequestEventContent.RequestedKeyInfo?
Link copied to clipboard
@SerialName(value = "request_id")
val requestId: String
Link copied to clipboard
@SerialName(value = "requesting_device_id")
val requestingDeviceId: String