Chat Flutter v3
Chat Flutter
Chat
Flutter
Version 3
Home
/
Chat
/
Flutter
/
Message
Update a message
Copy link
A user can update any of their own text and file messages sent using UserMessageParams
and FileMessageParams
. 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.
Note: Starting from Flutter Chat SDK 3.1.0,
UserMessageParams
requires themessage
parameter.
If a message is updated, the onMessageUpdated()
method in the channel event handler is invoked on all users' devices except the one that updated the message.