// A caller-defined ID used to correlate this message with the same message in the response.
MsgIDstring`json:"msg_id"`
// The message to check.
MsgTextstring`json:"msg_text"`
}
typeCheckAutoModStatusResponsestruct{
// The list of messages and whether Twitch would approve them for chat.
Data[]CheckAutoModStatusResponseData`json:"data"`
}
typeCheckAutoModStatusResponseDatastruct{
// The caller-defined ID passed in the request.
MsgIDstring`json:"msg_id"`
// A Boolean value that indicates whether Twitch would approve the message for chat or hold it for moderator review or block it from chat.
// Is true if Twitch would approve the message; otherwise, false if Twitch would hold the message for moderator review or block it from chat.
IsPermittedbool`json:"is_permitted"`
}
// Checks whether AutoMod would flag the specified message for review.
//
// AutoMod is a moderation tool that holds inappropriate or harassing chat messages for moderators to review. Moderators approve or deny the messages that AutoMod flags; only approved messages are released to chat. AutoMod detects misspellings and evasive language automatically. For information about AutoMod, see How to Use AutoMod.
//
// Rate Limits: Rates are limited per channel based on the account type rather than per access token.
//
// Account type | Limit per minute | Limit per hour