Personal chat in lib-jitsi-meet

Hi,
I’m using lib jitsi meet inside my react-app and was able to implement group chat using sendTextMessage() api and MESSAGE_RECEIVED listener. Now the use case is personal chat. Is there any api that I can use?
Thanks.

You can use sendPrivateTextMessage. It takes the participant ID of the recipient as the first argument.

Thanks saghul. I believe the corresponding listener would be PRIVATE_MESSAGE_RECEIVED. I’ll try that.