Send Chat Messages Using iframe Api

There is no method like ‘sendTextMessage’ for sending public chat messages using jitsi iframe api. sendEndPointTextMessage is not working properly.I have a scenario where i need to get the received messages and send public messages using our own UI .Please suggest me any solution on this. Thanks…