JS SDK v1.135.0
about 3 hours ago by Viktor Yordanov
AddedDiscussions: Posts now include
moderatedReasonCode, the category of the violation a moderated post was removed for, such ashate_speech,online_harassmentorterms_violation. Staff set it when they moderate a post, and AI moderation sets it automatically.const post = await sdk.discussions.getPostById("14XZChm8QMTZ7HMCMYPFiJ"); if (post.moderated) { console.log(post.moderatedReasonCode); // "hate_speech" }
