VerificationStartEventContent

@Serializable
sealed interface VerificationStartEventContent : VerificationStep

See also

Inheritors

Types

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

Properties

Link copied to clipboard
abstract val externalUrl: String?
Link copied to clipboard
abstract val fromDevice: String
Link copied to clipboard
abstract val mentions: Mentions?
Link copied to clipboard
Link copied to clipboard
abstract val relatesTo: RelatesTo?
Link copied to clipboard
abstract val transactionId: String?

Functions

Link copied to clipboard
abstract fun copyWith(relatesTo: RelatesTo?): MessageEventContent

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