CallSessionParticipantCountsUpdatedEvent

data class CallSessionParticipantCountsUpdatedEvent(@Json(name = "anonymous_participant_count") val anonymousParticipantCount: Int, @Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "participants_count_by_role") val participantsCountByRole: Map<String, Int>, @Json(name = "session_id") val sessionId: String, @Json(name = "type") val type: String = "call.session_participant_count_updated") : VideoEvent, WSCallEvent

This event is sent when the participant counts in a call session are updated

Parameters

anonymousParticipantCount
callCid
createdAt
participantsCountByRole
sessionId

Call session ID

type

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

Constructors

Link copied to clipboard
constructor(@Json(name = "anonymous_participant_count") anonymousParticipantCount: Int, @Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "participants_count_by_role") participantsCountByRole: Map<String, Int>, @Json(name = "session_id") sessionId: String, @Json(name = "type") type: String = "call.session_participant_count_updated")

Properties

Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
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