Skip to main content

Content moderation overview

Nexconn provides multiple content moderation options for your IM service:

  • Built-in profanity filter: A basic, out-of-the-box mechanism for detecting and filtering profanity in text messages. Limited to text content with a default maximum of 50 words. Not a replacement for professional content moderation.
  • Pre-messaging webhooks: Route messages to your own server before delivery. Your server determines whether to deliver, block, or modify the message content. Use this to integrate your own moderation system or a third-party moderation service.

Profanity filter

The profanity filter is a basic protection mechanism that detects and handles profanity in text message content. You can choose to block the entire message or replace the matched words with a specified string.

Supported languages: Chinese, English, Japanese, German, Russian, Korean, Arabic.

Manage profanity words via the server API:

Default behavior

  • Maximum of 50 profanity words by default (purchasable expansion available).
  • Applies only to messages sent from client SDKs by default.
  • Applies only to the built-in text message type (RC:TxtMsg) by default. Supports direct, group, open, and community channels.
  • No notification to the sender by default.

Profanity filter rules

  • Simplified/Traditional Chinese: Setting a simplified Chinese word also matches its traditional Chinese equivalent.
  • Punctuation-aware: Punctuation characters within a word are ignored. For example, the profanity word "AB" matches "A,B" and "A3B".
  • English word matching: English words are matched as whole words. Full-width and half-width, uppercase and lowercase are matched automatically. For example, "AV" matches "AV" and "av" but does not match "Java".
  • Numeric matching: Consecutive numeric strings are matched. Full-width digits are also matched. For example, "123" matches "123", "1 2 3", and "123" (full-width), but does not match "123" within "123467".

Pre-messaging webhooks

Use pre-messaging webhooks to integrate your own moderation system or a third-party service.

Pre-messaging webhooks route messages matching your configured rules to your server before delivery. Your server inspects the message and returns a response indicating whether to deliver, block, or modify the message.

Subscribe to the *:pre_messaging webhook events in the Console under Chat > Webhooks.

For details on creating routing rules and webhook parameters, see the Pre-messaging webhooks documentation.