Skip to main content
Use message management APIs after your app already has the target 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 editedAt to render edited indicators after an edit.
  • Use isDeleted to render deleted placeholders or hide deleted messages depending on your product rule.
  • Pass includeDeleted on query APIs only where the platform exposes that filter.

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.