CallSessionEndedEvent
data class CallSessionEndedEvent(@Json(name = "call") val call: CallResponse, @Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "session_id") val sessionId: String, @Json(name = "type") val type: String = "call.session_ended") : VideoEvent, WSCallEvent
This event is sent when a call session ends
Parameters
call
callCid
createdAt
sessionId
Call session ID
type
The type of event: \"call.session_ended\" in this case
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 = "session_id") sessionId: String, @Json(name = "type") type: String = "call.session_ended")