TwitchApi.Moderation.ManageHeldAutoModMessages (TwitchApi v0.1.0) View Source
⛔ This module is autogenerated please do not modify manually.
Example request from twitch api docs:
descriptions:
Allow a message being held by AutoMod. Deny a message being held by AutoMod.
requests:
curl -X POST 'https://api.twitch.tv/helix/moderation/automod/message'
-H'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y'
-H'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'
-d'{
"user_id": "9327994",
"msg_id": "836013710",
"action": "DENY"
}'
curl -X POST 'https://api.twitch.tv/helix/moderation/automod/message'
-H'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y'
-H'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'
-d'{
"user_id": "9327994",
"msg_id": "836013710",
"action": "ALLOW"
}'
Example response from twitch api docs:
descriptions:
Shows that a message was successfully allowed. Shows that a message was successfully denied.
responses:
204NoContent 204NoContent
Link to this section Summary
Functions
Description:
Allow or deny a message that was held for review by AutoMod.
Link to this section Types
Specs
Link to this section Functions
Specs
call(
%{action: String.t(), msg_id: String.t(), user_id: String.t()} | nil,
user_info()
) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}
Description:
Allow or deny a message that was held for review by AutoMod.
Required authentication:
Required authorization:
User OAuth token requiredRequired Scope: moderator:manage:automod Note that the scope allows this endpoint to be used for any channel that the authenticated user is a moderator, including their own channel.