Flag a Message
Use the Flag Message Async node to report a message for moderation review.- Blueprint
- C++

- Create an
FCometChatFlagDetailstruct with theReasonIdand optionalRemark - Call the Flag Message Async node with the message ID and flag detail
- Handle On Success (message flagged) or On Failure (error)
Get Flag Reasons
Fetch the list of available reasons a user can select when flagging a message.- Blueprint
- C++
- Call the Get Flag Reasons Async node (no parameters needed)
- On Success, iterate the returned
TArray<FCometChatFlagReason> - Display the reasons in a UI picker for the user to select from
Moderation Status on Messages
EveryFCometChatMessage includes a ModerationStatus field of type ECometChatModerationStatus. Use this to filter or visually indicate moderated content in your UI.
ECometChatModerationStatus
Real-Time Moderation Updates
Listen to theOnMessageModerated delegate to receive real-time updates when a message’s moderation status changes:
- Blueprint
- C++
Bind to On Message Moderated on the CometChat Subsystem. The event provides the updated
FCometChatMessage with the new ModerationStatus.FCometChatFlagDetail
The struct you provide when flagging a message.FCometChatFlagReason
The struct returned when fetching available flag reasons.Next Steps
Real-Time Events
Listen for moderation status changes in real time.
API Reference
Complete reference of all structs and enums.