CallAcceptedEvent
data class CallAcceptedEvent(@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.accepted", @Json(name = "user") val user: UserResponse) : VideoEvent, WSCallEvent
This event is sent when a user accepts a notification to join a call.
Parameters
call
callCid
createdAt
type
The type of event: \"call.accepted\" in this case
user
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.accepted", @Json(name = "user") user: UserResponse)