# Trouble sending and receiving chat messages using the Meeting SDK

**URL:** <https://devforum.zoom.us/t/trouble-sending-and-receiving-chat-messages-using-the-meeting-sdk/118692>\
**Category:** Meeting SDK\
**Created:** [October 7, 2024, 2:00pm UTC](https://devforum.zoom.us/t/trouble-sending-and-receiving-chat-messages-using-the-meeting-sdk/118692 "2024-10-07T14:00:35Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 9, 2024, 8:11pm UTC](https://devforum.zoom.us/t/trouble-sending-and-receiving-chat-messages-using-the-meeting-sdk/118692/11 "2024-10-09T20:11:09Z")

</div>

Check out this thread @saranshabd and let me know if it helps:

> [@IMeetingChatController::SendChatMsgTo fails](https://devforum.zoom.us/t/imeetingchatcontroller-sendchatmsgto-fails/113099/6):
>
> @seungkoo I’ve just tried this and it works, however I’m a different implementation to make sure that the sending of message will be definitely in the main thread. //onChatMessageReceived is a helper method in the main thread, which is passed into this event listener. When there is message received on the event listener, it passes the message back into onChatMessageReceived method in the main thread. MeetingChatEventListener::MeetingChatEventListener(void(\*onChatMessageReceived)(IChatMsgInfo\*…

---

_[View the full topic](https://devforum.zoom.us/t/trouble-sending-and-receiving-chat-messages-using-the-meeting-sdk/118692)._
