Chat JavaScript v4
Chat JavaScript
Chat
JavaScript
Version 4
Home
/
Chat
/
JavaScript
/
Message
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
File message
Copy link
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
Group channel
Copy link