CallAssertedIdentityContent

@JsonClass(generateAdapter = true)
data class CallAssertedIdentityContent(    @Json(name = "call_id") val callId: String,     @Json(name = "party_id") val partyId: String? = null,     @Json(name = "version") val version: String?,     @Json(name = "asserted_identity") val assertedIdentity: CallAssertedIdentityContent.AssertedIdentity? = null) : CallSignalingContent

This event is sent by the callee when they wish to answer the call.

Constructors

Link copied to clipboard
fun CallAssertedIdentityContent(    @Json(name = "call_id") callId: String,     @Json(name = "party_id") partyId: String? = null,     @Json(name = "version") version: String?,     @Json(name = "asserted_identity") assertedIdentity: CallAssertedIdentityContent.AssertedIdentity? = null)

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AssertedIdentity(    @Json(name = "id") val id: String? = null,     @Json(name = "display_name") val displayName: String? = null,     @Json(name = "avatar_url") val avatarUrl: String? = null)

A user ID may be included if relevant, but unlike target_user, it is purely informational. The asserted identity may not represent a matrix user at all, in which case just a display_name may be given, or a perhaps a display_name and avatar_url.

Properties

Link copied to clipboard
val assertedIdentity: CallAssertedIdentityContent.AssertedIdentity? = null

Optional. Used to inform the transferee who they're now speaking to.

Link copied to clipboard
open override val callId: String

Required. The ID of the call this event relates to.

Link copied to clipboard
open override val partyId: String? = null

Required. ID to let user identify remote echo of their own events

Link copied to clipboard
open override val version: String?

Required. The version of the VoIP specification this messages adheres to.