Candidates

@Serializable
data class Candidates(val version: String, val callId: String, val partyId: String? = null, val candidates: List<CallEventContent.Candidates.Candidate>) : CallEventContent

Matrix call candidates content

See also

Constructors

Link copied to clipboard
constructor(version: String, callId: String, partyId: String? = null, candidates: List<CallEventContent.Candidates.Candidate>)

Types

Link copied to clipboard
@Serializable
data class Candidate(val candidate: String, val sdpMLineIndex: Long? = null, val sdpMid: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "call_id")
open override val callId: String
Link copied to clipboard
@SerialName(value = "candidates")
val candidates: List<CallEventContent.Candidates.Candidate>
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
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.Candidates

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