CallRejectedEvent

constructor(@Json(name = "call") call: CallResponse, @Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "type") type: String = "call.rejected", @Json(name = "user") user: UserResponse, @Json(name = "reason") reason: String? = null)

Parameters

call
callCid
createdAt
type

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

user
reason