Package org.matrix.android.sdk.api.session.events.model.content

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class EncryptedEventContent(    @Json(name = "algorithm") val algorithm: String? = null,     @Json(name = "ciphertext") val ciphertext: String? = null,     @Json(name = "device_id") val deviceId: String? = null,     @Json(name = "sender_key") val senderKey: String? = null,     @Json(name = "session_id") val sessionId: String? = null,     @Json(name = "m.relates_to") val relatesTo: RelationDefaultContent? = null)

Class representing an encrypted event content.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class EncryptionEventContent(    @Json(name = "algorithm") val algorithm: String?,     @Json(name = "rotation_period_ms") val rotationPeriodMs: Long? = null,     @Json(name = "rotation_period_msgs") val rotationPeriodMsgs: Long? = null)

Class representing an encrypted event content.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class OlmEventContent(@Json(name = "ciphertext") val ciphertext: Map<String, Any>? = null, @Json(name = "sender_key") val senderKey: String? = null)

Class representing an encrypted event content.

Link copied to clipboard
@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.

Link copied to clipboard
@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.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RoomKeyWithHeldContent(    @Json(name = "room_id") val roomId: String? = null,     @Json(name = "algorithm") val algorithm: String? = null,     @Json(name = "session_id") val sessionId: String? = null,     @Json(name = "sender_key") val senderKey: String? = null,     @Json(name = "code") val codeString: String? = null,     @Json(name = "reason") val reason: String? = null,     @Json(name = "from_device") val fromDevice: String? = null)

Class representing an sharekey content.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class SecretSendEventContent(@Json(name = "request_id") val requestId: String, @Json(name = "secret") val secretValue: String)

Class representing an encrypted event content.

Link copied to clipboard
enum WithHeldCode : Enum<WithHeldCode>