Send message with external API

Hi, I started using external API. I want to send a message to jitsi-meet group chat but I didn’t found any directions except sendEndpointTextMessage. But it appears to be a private message. So anyway I wanted to try it. But in docs is api.executeCommand('receiverParticipantId', 'text'); and the command is not found. And this doesn’t work either

api.executeCommand('sendEndpointTextMessage', 'text');
api.executeCommand('sendEndpointTextMessage',Object.keys(api._participants)[0],"aaasdas");

So is there any way to send message (to group chat) via external API?

2 Likes

Yes, use conversejs (https://github.com/conversejs), it’s opensource and free.