# Error - e.sendChatMessage is not a function

**URL:** <https://meta.discourse.org/t/error-e-sendchatmessage-is-not-a-function/267943>\
**Category:** Product Support\
**Tags:** chat, gifs\
**Created:** [June 10, 2023, 6:50pm UTC](https://meta.discourse.org/t/error-e-sendchatmessage-is-not-a-function/267943 "2023-06-10T18:50:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [June 11, 2023, 5:34am UTC](https://meta.discourse.org/t/error-e-sendchatmessage-is-not-a-function/267943/5 "2023-06-11T05:34:52Z")

</div>

Yes, that commit/your Discourse version is over a month old [DEV: Enable color CI output and tweak formatting (#21527) · discourse/discourse@eec10ef · GitHub](https://github.com/discourse/discourse/commit/eec10efc3dfad0d274cadb60e9e45f2a345b2a5d)

There have since been changes to the Chat API: [FIX: uses chat api new sendChatMessage (#38) · discourse/discourse-gifs@eb3ec48 · GitHub](https://github.com/discourse/discourse-gifs/commit/eb3ec48c3446cf23973613516ffe12d6fe6ee519)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/8/0/c/80c325b7c7ba69fed73965123cf63bf9d0a4a9fa.png)

So I wouldn’t expect this to work either.

---

_[View the full topic](https://meta.discourse.org/t/error-e-sendchatmessage-is-not-a-function/267943)._
