CallRejectedEvent

data class CallRejectedEvent(@Json(name = "call") val call: CallResponse, @Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "type") val type: String = "call.rejected", @Json(name = "user") val user: UserResponse, @Json(name = "reason") val reason: String? = null) : VideoEvent, WSCallEvent

This event is sent when a user rejects a notification to join a call.

Parameters

call
callCid
createdAt
type

The type of event: \"call.rejected\" in this case

user
reason

Constructors

Link copied to clipboard
constructor(@Json(name = "call") call: CallResponse, @Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "type") type: String = "call.rejected", @Json(name = "user") user: UserResponse, @Json(name = "reason") reason: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard
val reason: String? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun getCallCID(): String
Link copied to clipboard
open override fun getEventType(): String