Report offensive messages
Unreal Chat SDK provides a mechanism for users to report offensive content in messages directly from their applications.
In each case, a user must provide a reason for flagging a given message. As a result of flagging, a reported message gets published on the dedicated administrative channel (with the PUBNUB_INTERNAL_ADMIN_CHANNEL
ID) and an event of the report
type gets created.
As a developer, you can add custom logic that uses the emitted events and defines what an admin can later do with such reported messages. For example, an admin can delete an inappropriate message.
Message Persistence
To work with stored message data, make sure you have Message Persistence enabled for your app's keyset in the Admin Portal.
Flag/Report messages
Report()
lets you flag and report an inappropriate message to the admin.
Method signature
- Blueprint
- C++ / Input parameters
1Message->Report(FString Reason);
Parameter | Description |
---|---|
Report |