Chat JavaScript v4
Chat JavaScript
Chat
JavaScript
Home
/
Chat
/
JavaScript
/
Message
This is the new Docs for Chat SDK v4 for JavaScript. To see the previous Docs, click here.
A user can update any of their own text and file messages sent using UserMessageUpdateParams
and FileMessageUpdateParams
. An error is returned if a user attempts to update another user's messages. In addition, channel operators can update any messages sent in a channel.
If a message is updated, the onMessageUpdated()
method in the channel event handler is invoked on all channel participants' devices including the one that updated the message.