Receive message using Rocket chat realtime api

My objective is to communicate between two users using Rocket chat real time api.

First of all, I consumed “createDirectMessage” that gives me rId. And then I send message using “sendMessage” api. But message is not received at receiver end.

I double checked that userName provided sent on “createDirectMessage” is correct.

Please stay in one thread and don’t keep creating new ones as it is hard to follow.

You started this here?

https://forums.rocket.chat/t/communication-between-two-users-using-real-time-api/11392/3