# Send Message Realtime API

**URL:** <https://forums.rocket.chat/t/send-message-realtime-api/15433>\
**Category:** Community Support\
**Tags:** android, rocketchat-apps\
**Created:** [November 25, 2022, 10:22am UTC](https://forums.rocket.chat/t/send-message-realtime-api/15433 "2022-11-25T10:22:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fahad.waseem](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@fahad.waseem](https://forums.rocket.chat/u/fahad.waseem)\
**Post date:** [November 25, 2022, 10:22am UTC](https://forums.rocket.chat/t/send-message-realtime-api/15433/1 "2022-11-25T10:22:33Z")

</div>

Hi Team RocketChat!

I am using rocket chat realtime Apis for one-to-one and group chat implementation in my native Android app.

The issue I am facing is that while using “method”: “sendMessage”, I send the proper parameters of my message but what I receive is just {“msg”: “result”, “id”: “the\_id”}. While in other messages, they include the object of result having all the relevant data. So I need a full message model returned while hitting sendMessage. Please tell me if I am doing something wrong or should I use something else.

The steps I am following :

- “msg”: “connect”

- “method”: “login”

- “name”: “stream-notify-user”

- “method”: “sendMessage”

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [December 22, 2022, 3:45pm UTC](https://forums.rocket.chat/t/send-message-realtime-api/15433/2 "2022-12-22T15:45:01Z")

</div>

hi!

This might be a bug, or at least an improvement.

Can you provide some peace of code to reproduce this?

Thanks!
