UpdatedCallPermissionsEvent
data class UpdatedCallPermissionsEvent(@Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "own_capabilities") val ownCapabilities: List<OwnCapability>, @Json(name = "type") val type: String = "call.permissions_updated", @Json(name = "user") val user: UserResponse) : VideoEvent, WSCallEvent
This event is sent to notify about permission changes for a user, clients receiving this event should update their UI accordingly
Parameters
callCid
createdAt
ownCapabilities
The capabilities of the current user
type
The type of event: \"call.permissions_updated\" in this case
user
Constructors
Link copied to clipboard
constructor(@Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "own_capabilities") ownCapabilities: List<OwnCapability>, @Json(name = "type") type: String = "call.permissions_updated", @Json(name = "user") user: UserResponse)