MessageModerationDetails

constructor(originalText: String, action: MessageModerationAction, errorMsg: String)

Parameters

originalText

The original text of the moderated message.

action

The moderation action that was performed on the message.

errorMsg

The error message that was returned by the moderation service.