Sends a message to other participants, or another specific participant, during the call.
recipient represents who should receive the message. It can be either a participant
"*" value is the
default, and means that the message is a "broadcast" message intended for all participants.
Note that the
recipient address is the
session_id, not the
Messages are delivered to participants currently in the call. They are not stored. If a recipient is not in the call when the message is sent, the recipient will never receive the message.
Broadcast messages are not delivered to the sender of the message.
You can listen for these messages by installing a handler for the
sendAppMessage() in action
sendAppMessage() to add chat to our React call object demo app:
- Read the blog post tutorial
- Head to the demo repository