Chat SDKs JavaScript v4
Chat SDKs JavaScript
Chat SDKs
JavaScript
Version 4
Update a message
Copy link
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.
User message
Copy link
JavaScriptTypeScript
File message
Copy link
JavaScriptTypeScript
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.
Open channel
Copy link
JavaScriptTypeScript
Group channel
Copy link
JavaScriptTypeScript