# onChatMessageNotification delegate is not working for message sent

**URL:** <https://devforum.zoom.us/t/onchatmessagenotification-delegate-is-not-working-for-message-sent/105955>\
**Category:** iOS\
**Created:** [March 18, 2024, 8:47am UTC](https://devforum.zoom.us/t/onchatmessagenotification-delegate-is-not-working-for-message-sent/105955 "2024-03-18T08:47:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilham.majid](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ilham.majid/32/54601_2.png) [@ilham.majid](https://devforum.zoom.us/u/ilham.majid)\
**Post date:** [March 18, 2024, 8:47am UTC](https://devforum.zoom.us/t/onchatmessagenotification-delegate-is-not-working-for-message-sent/105955/1 "2024-03-18T08:47:59Z")

</div>

**Description**  
Previously i was using SDK version 5.13.1 and upgraded to 5.16.1 on Oct 2023 and we migrated `onInMeetingChat` into `onChatMessageNotification`. But this is something that we noticed just recently, `onInMeetingChat` was working for message sent and received, but `onChatMessageNotification` only captured message received event, not message sent event.  
I can’t find this update on the change log, is there any changes related to this?

**Which iOS Meeting SDK version?**  
5.16.1

**To Reproduce(If applicable)**

- Send a message.
- `onChatMessageNotification` is not getting triggered.
- Got this on log instead `-canOpenURL: failed for URL: "tel:0" - error: "This app is not allowed to query for scheme tel"` which doesn’t seem related to this issue.

**Smartphone (please complete the following information):**

- Device: Simulator
- OS: iOS 17.4

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [April 3, 2024, 12:39am UTC](https://devforum.zoom.us/t/onchatmessagenotification-delegate-is-not-working-for-message-sent/105955/2 "2024-04-03T00:39:09Z")

</div>

Hi @ilham.majid

Thank you for posting on our Developer forum.  
I tested it with our version 5.17.6, both sending and receiving messages will trigger the callback `onChatMessageNotification`. Would you please upgrade the version to the latest one and check whether the issue persists?  
Thanks.

Elaine

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 3, 2024, 10:39am UTC](https://devforum.zoom.us/t/onchatmessagenotification-delegate-is-not-working-for-message-sent/105955/3 "2024-05-03T10:39:14Z")

</div>

Closed on May 3, 2024, 10:39am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
