messageId. The client SDKs expose text-message edits, custom-message edits, and soft deletion.
Soft deletion marks a message as deleted and lets message queries or single-message observers reflect that state. It is not a hard-delete or recovery API.
Platform Surface
The Flutter
updateMessage(channelId, messageId) builder is deprecated. Use editTextMessage(messageId) or editCustomMessage(messageId, customData) for new integrations.Parameters
Edit A Text Message
Update the text body and optional app-owned context for an existing text message.Edit A Custom Message
Update the JSON-serializable payload for an existing custom message.Soft-Delete A Message
Soft-delete a message by ID so list and single-message observers can reflect deleted state.After Edit Or Delete
- Observe the message or query collection again instead of mutating app UI state by hand.
- Use
editedAtto render edited indicators after an edit. - Use
isDeletedto render deleted placeholders or hide deleted messages depending on your product rule. - Pass
includeDeletedon query APIs only where the platform exposes that filter.
Related Topics
Send Messages
Create the message before editing or deleting it.
Get a Message
Observe one message after an edit or delete.
Query Messages
Refresh timelines and reply threads.