CallMemberAddedEvent

data class CallMemberAddedEvent(@Json(name = "call") val call: CallResponse, @Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "members") val members: List<MemberResponse>, @Json(name = "type") val type: String = "call.member_added") : VideoEvent, WSCallEvent

This event is sent when one or more members are added to a call

Parameters

call
callCid
createdAt
members

the members added to this call

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 = "created_at") createdAt: OffsetDateTime, @Json(name = "members") members: List<MemberResponse>, @Json(name = "type") type: String = "call.member_added")

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