MessageModerationDetails

@Immutable
data class MessageModerationDetails(val originalText: String, val action: MessageModerationAction, val errorMsg: String)

Describes the details of a message which was moderated.

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.

Constructors

Link copied to clipboard
constructor(originalText: String, action: MessageModerationAction, errorMsg: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard