Skip to content

DataChannelEvent

Adnan Mujagić edited this page Oct 25, 2023 · 4 revisions



TEXT_DELIVERED_EVENT

Description

Event triggered when a text has been (un)successfully delivered.

Payload

event = { id: string, date: Date, delivered: boolean }



TEXT_RECEIVED_EVENT

Description

Event triggered when a text has been received.

Payload

event = { text: string, from: Endpoint, isDirect: boolean, date: Date }



BROADCAST_TEXT_RECEIVED_EVENT

Description

Event triggered when a broadcast has been received. A broadcast is a message that is sent to all conference or dialog participants with an open DataChannel by invoking Calls API methods for conferences and dialogs respectively.

Payload

event = { text: string, date: Date }

Tutorials

Migration guides

Reference documentation

Clone this wiki locally