CallReactionEvent

data class CallReactionEvent(@Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "reaction") val reaction: ReactionResponse, @Json(name = "type") val type: String = "call.reaction_new") : VideoEvent, WSCallEvent

This event is sent when a reaction is sent in a call, clients should use this to show the reaction in the call screen

Parameters

callCid
createdAt
reaction
type

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

Constructors

Link copied to clipboard
constructor(@Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "reaction") reaction: ReactionResponse, @Json(name = "type") type: String = "call.reaction_new")

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