CallMemberUpdatedPermissionEvent
data class CallMemberUpdatedPermissionEvent(@Json(name = "call") val call: CallResponse, @Json(name = "call_cid") val callCid: String, @Json(name = "capabilities_by_role") val capabilitiesByRole: Map<String, List<String>>, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "members") val members: List<MemberResponse>, @Json(name = "type") val type: String = "call.member_updated_permission") : VideoEvent, WSCallEvent
This event is sent when one or more members get its role updated
Parameters
call
callCid
capabilitiesByRole
The capabilities by role for this call
createdAt
members
The list of members that were updated
type
The type of event: \"call.member_added\" in this case
Constructors
Link copied to clipboard
constructor(@Json(name = "call") call: CallResponse, @Json(name = "call_cid") callCid: String, @Json(name = "capabilities_by_role") capabilitiesByRole: Map<String, List<String>>, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "members") members: List<MemberResponse>, @Json(name = "type") type: String = "call.member_updated_permission")