I’m currently building a Freshchat app and facing an issue where the onMessageCreate event does not trigger when a message is posted in a private thread within a conversation.
When I send a message in a regular chat conversation, this handler triggers successfully and logs the payload.
However, when I send a message in a private thread, nothing happens — no event is fired.
I’m trying to drag and store the replies that come under private notes, but it’s not working, sinceconversation.onPrivateNoteClick it can’t be used. That event only triggers when the Private Note tab is clicked, not when a new private note or a reply to a private note is added.
In onMessageCreateBoth private notes and normal messages are getting triggered, but when someone replies to a private note, I’m not able to catch that reply.
Hi @Debjani,
Just checking in on this — I’m still running into the same issue. I can’t seem to catch replies added under private notes. onMessageCreate fires for both normal and private messages, but it doesn’t specifically trigger for private note replies.
Sinceconversation.onPrivateNoteClick it can’t be used. That event only triggers when the Private Note tab is clicked, not when a new private note or a reply to a private note is added.
Is there any event or workaround that can help with this?
Just wanted to follow up on this — I’m still encountering the same issue. I’m unable to capture replies added under private notes. The onMessageCreate event fires for both normal and private messages, but it doesn’t specifically trigger for private note replies.
Since conversation.onPrivateNoteClick only triggers when the Private Note tab is clicked (and not when a new private note or a reply is added), I’m wondering if there’s any other event or workaround that could help detect when a private note reply is created.
Would you be able to confirm if this is currently supported, or if there’s a recommended workaround?
Just wanted to follow up on this — I’m still encountering the same issue. I’m unable to capture replies added under private notes. The onMessageCreate event fires for both normal and private messages, but it doesn’t specifically trigger for private note replies.
Since conversation.onPrivateNoteClick only triggers when the Private Note tab is clicked (and not when a new private note or a reply is added), I’m wondering if there’s any other event or workaround that could help detect when a private note reply is created.
Would you be able to confirm if this is currently supported, or if there’s a recommended workaround?