Rocket chat websocket integration not working

We are trying to integrate the rocket chat with wavemaker websocket.

For rocket chat we are using this
https://docs.rocket.chat/api/realtime-api

and for wavemaker integration via websocket we are using this
https://www.wavemaker.com/learn/how-tos/websocket-usage-chatroom-app

now the problem that i am getting is that the websocket gets connected but returns empty response. https://prnt.sc/uu1awa

Tried passing the variables/params told in this
https://docs.rocket.chat/api/realtime-api/method-calls

But none of them is working, need to know how will it connect. Let me know what you pass in body params, query params and path params in the image as shown. To receive an appropriate response.