Platform Surface
Parameters
Flag A Message
Flag a message with a moderation reason so your product can route it into review.Use A Custom Reason
Use theOthers reason only when your UI collects additional detail from the reporter.
Pass a custom reason string when the platform enum supports Others or direct string reasons.
Unflag A Message
Remove the current user’s flag from a message when the user reverses the report action.Check Flag State
TypeScript and iOS can ask the repository for the current user’s flag state by message ID. Android and Flutter expose the state on fetched message objects. Read flag state before rendering selected or disabled report controls.Related Topics
Query Messages
Refresh list state after flag or unflag actions.
Edit and Delete Messages
Modify or soft-delete your own messages.
Content Moderation
Connect message reports to your moderation operating model.