How to use EndpointTextMessage

  • sendEndpointTextMessage - Sends a text message to another participant through the datachannels.

api.executeCommand(‘receiverParticipantId’, ‘text’);

How to send private message? Nothing appen.