Class AirshipModerationService

Provides moderation and safety features for the Airship platform.

Methods

Methods

  • Moderates text for inappropriate content.

    Parameters

    • text: string

      The text to be moderated.

    Returns Promise<ModerateTextResponse>

    A promise resolving to a moderation response which includes whether the text was censored or blocked.