VerificationCancelEventContent

@Serializable
data class VerificationCancelEventContent(val code: VerificationCancelEventContent.Code, val reason: String, val relatesTo: RelatesTo.Reference?, val transactionId: String?) : VerificationStep

See also

Constructors

Link copied to clipboard
constructor(code: VerificationCancelEventContent.Code, reason: String, relatesTo: RelatesTo.Reference?, transactionId: String?)

Types

Link copied to clipboard
sealed interface Code

Properties

Link copied to clipboard
@SerialName(value = "code")
val code: VerificationCancelEventContent.Code
Link copied to clipboard
open override val externalUrl: String? = null
Link copied to clipboard
open override val mentions: Mentions? = null
Link copied to clipboard
@SerialName(value = "reason")
val reason: String
Link copied to clipboard
@SerialName(value = "m.relates_to")
open override val relatesTo: RelatesTo.Reference?
Link copied to clipboard
@SerialName(value = "transaction_id")
open override val transactionId: String?

Functions

Link copied to clipboard
open override fun copyWith(relatesTo: RelatesTo?): VerificationCancelEventContent

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