|
Stream Chat Unreal SDK
|
#/components/schemas/MessageModerationResult The moderation verdict the API reached for a message. More...
#include <MessageModerationDto.h>
Public Attributes | |
| FString | Action |
| FString | OriginalText |
| The text the user submitted, before moderation replaced or withheld it. | |
| TArray< FString > | TextHarms |
| Harm labels the text triggered. Server-side responses only. | |
| TArray< FString > | ImageHarms |
| Harm labels the images triggered. Server-side responses only. | |
| FString | BlocklistMatched |
| Name of the blocklist the message matched, if any. Server-side responses only. | |
| FString | SemanticFilterMatched |
| The semantic filter phrase the message matched, if any. Server-side responses only. | |
| bool | bPlatformCircumvented = false |
| Whether the message tripped the platform circumvention model. Server-side responses only. | |
#/components/schemas/MessageModerationResult The moderation verdict the API reached for a message.
Carries both the moderation key of Moderation V2 and the older moderation_details key: the two payloads have the same shape, and only their action vocabulary differs.
| FString FMessageModerationDto::Action |
What moderation did with the message.
Left as a string rather than an enum because the server may add actions the SDK has not been taught yet, and an unknown value must reach the caller instead of failing to parse. V2 sends bounce, remove or flag; V1 sends MESSAGE_RESPONSE_ACTION_BOUNCE and friends.