Negotiate

@Serializable
data class Negotiate(val version: String = "1", val callId: String, val partyId: String, val description: CallEventContent.Negotiate.Description, val lifetime: Long, val sdpStreamMetadata: Map<String, StreamMetadata>? = null) : CallEventContent

Matrix call negotiate content

See also

Constructors

Link copied to clipboard
constructor(version: String = "1", callId: String, partyId: String, description: CallEventContent.Negotiate.Description, lifetime: Long, sdpStreamMetadata: Map<String, StreamMetadata>? = null)

Types

Link copied to clipboard
@Serializable
data class Description(val sdp: String, val type: CallEventContent.Negotiate.DescriptionType)
Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "call_id")
open override val callId: String
Link copied to clipboard
@SerialName(value = "description")
val description: CallEventContent.Negotiate.Description
Link copied to clipboard
open override val externalUrl: String? = null
Link copied to clipboard
@SerialName(value = "lifetime")
val lifetime: Long
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 = "sdp_stream_metadata")
val sdpStreamMetadata: Map<String, StreamMetadata>?
Link copied to clipboard
@EncodeDefault
@SerialName(value = "version")
open override val version: String

Functions

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

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