Hangup

@Serializable
data class Hangup(val version: String, val callId: String, val partyId: String? = null, val reason: CallEventContent.Hangup.Reason? = null) : CallEventContent

Matrix call hangup content

See also

Constructors

Link copied to clipboard
constructor(version: String, callId: String, partyId: String? = null, reason: CallEventContent.Hangup.Reason? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "call_id")
open override val callId: String
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 = "party_id")
open override val partyId: String?
Link copied to clipboard
@SerialName(value = "reason")
val reason: CallEventContent.Hangup.Reason?
Link copied to clipboard
open override val relatesTo: RelatesTo? = null
Link copied to clipboard
@SerialName(value = "version")
open override val version: String

Functions

Link copied to clipboard
open override fun copyWith(relatesTo: RelatesTo?): CallEventContent.Hangup

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