# Request to add thread id to onReceiveChatMsg callback

**URL:** <https://devforum.zoom.us/t/request-to-add-thread-id-to-onreceivechatmsg-callback/130328>\
**Category:** Meeting SDK\
**Created:** [March 21, 2025, 9:11pm UTC](https://devforum.zoom.us/t/request-to-add-thread-id-to-onreceivechatmsg-callback/130328 "2025-03-21T21:11:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zach\_rewatch](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@zach\_rewatch](https://devforum.zoom.us/u/zach_rewatch)\
**Post date:** [March 21, 2025, 9:11pm UTC](https://devforum.zoom.us/t/request-to-add-thread-id-to-onreceivechatmsg-callback/130328/1 "2025-03-21T21:11:46Z")

</div>

Meeting SDK 3.12.0

Thanks for adding the `onReceiveChatMsg` callback, that was a missing piece for us and is super helpful for our app! One piece that is missing and I’m hoping you can add in a follow-up release is a way to differentiate a reply in a thread from a normal chat message. The format of the payload isn’t documented yet, but looks like this from my testing:

```auto
{
  "sender": "Zach Waugh",
  "senderId": 16778240,
  "senderGuid": "5D902C75-51A2-76E1-2689-18941E49F752",
  "timestamp": "05:00 PM",
  "receiver": "Everyone",
  "receiverId": "",
  "type": "text",
  "content": {
    "text": "reply to new thread",
    "messageId": "1-{076e06d6-0eb0-4fb2-a797-b46efc6ccd46}",
    "chatType": "groupchat",
    "messageType": "0",
    "t": "1742590810290"
  }
}

```

That was for a reply, but there’s no way to know it was a reply. Would it be possible to add a `threadId` or `parentId` parameter that would correspond to the `messageId` of the parent message of the thread? Thanks!
