Stream Chat icon

Stream Chat

Server-side Stream Chat operations

Moderation → Unflag Message

AI-generated

Summary

Remove the moderation flag from a specified message by its Message ID in Stream Chat.

Inputs

  • Message ID (required) — The ID of the message to unflag, removing its moderation flag.

Output shape

a single record

Returns the result of the unflag operation for the given message ID as a JSON object. No pagination applies.

Examples

Example 1: Unflag a message with a known Message ID to clear its moderation flag.

Set 'Message ID' to the ID of the message to unflag.

Discussion