SasStartEventContent

@Serializable
@SerialName(value = "m.sas.v1")
data class SasStartEventContent(val fromDevice: String, val hashes: Set<SasHash>, val keyAgreementProtocols: Set<SasKeyAgreementProtocol>, val messageAuthenticationCodes: Set<SasMessageAuthenticationCode>, val shortAuthenticationString: Set<SasMethod>, val relatesTo: RelatesTo.Reference?, val transactionId: String?) : VerificationStartEventContent

See also

Constructors

Link copied to clipboard
constructor(fromDevice: String, hashes: Set<SasHash>, keyAgreementProtocols: Set<SasKeyAgreementProtocol>, messageAuthenticationCodes: Set<SasMessageAuthenticationCode>, shortAuthenticationString: Set<SasMethod>, relatesTo: RelatesTo.Reference?, transactionId: String?)

Properties

Link copied to clipboard
open override val externalUrl: String? = null
Link copied to clipboard
@SerialName(value = "from_device")
open override val fromDevice: String
Link copied to clipboard
@SerialName(value = "hashes")
val hashes: Set<SasHash>
Link copied to clipboard
@SerialName(value = "key_agreement_protocols")
val keyAgreementProtocols: Set<SasKeyAgreementProtocol>
Link copied to clipboard
open override val mentions: Mentions? = null
Link copied to clipboard
@SerialName(value = "message_authentication_codes")
val messageAuthenticationCodes: Set<SasMessageAuthenticationCode>
Link copied to clipboard
@SerialName(value = "next_method")
open override val nextMethod: VerificationMethod? = null
Link copied to clipboard
@SerialName(value = "m.relates_to")
open override val relatesTo: RelatesTo.Reference?
Link copied to clipboard
@SerialName(value = "short_authentication_string")
val shortAuthenticationString: Set<SasMethod>
Link copied to clipboard
@SerialName(value = "transaction_id")
open override val transactionId: String?

Functions

Link copied to clipboard

This should return the same instance, but with the relatesTo property set to the given value. It is used for event content replacing.