Home / Companies / Stream / Blog / Post Details
Content Deep Dive

New Feature Announcement: Presend Message Hooks

Blog post from Stream

Post Details
Company
Date Published
Author
Tess G.
Word Count
638
Language
English
Hacker News Points
-
Summary

Presend Message Hooks offer a moderation tool that allows users to intercept and modify or discard messages before they are saved and visible in a chat channel, ensuring compliance with content guidelines and preventing the sharing of sensitive information. These hooks are particularly useful in applications where privacy laws or regulations, such as HIPAA, require the removal of personally identifiable information. Presend Message Hooks can scrub messages for sensitive data using AI, restrict the sharing of contact information, and use regular expressions to detect specific words or phrases. The feature integrates with Stream Chat, requiring a fast response from the webhook endpoint to prevent delays, and provides functionality to either rewrite or discard messages according to predefined rules. If the webhook becomes unavailable, Stream Chat will pause its use until it is restored, ensuring seamless operation.