BlockedUserEvent

data class BlockedUserEvent(@Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "type") val type: String = "call.blocked_user", @Json(name = "user") val user: UserResponse, @Json(name = "blocked_by_user") val blockedByUser: UserResponse? = null) : VideoEvent, WSCallEvent

This event is sent to call participants to notify when a user is blocked on a call, clients can use this event to show a notification. If the user is the current user, the client should leave the call screen as well

Parameters

callCid
createdAt
type

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

user
blockedByUser

Constructors

Link copied to clipboard
constructor(@Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "type") type: String = "call.blocked_user", @Json(name = "user") user: UserResponse, @Json(name = "blocked_by_user") blockedByUser: UserResponse? = null)

Properties

Link copied to clipboard
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