This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was reported as inappropriate.
function onPostReported(handler: function): void;
handler(event: PostReportedEnvelope): void | Promise<void>
import { posts } from "@wix/forum";
posts.onPostReported((event) => {
// handle your event here
});