updateSettings
Twitch API: Update Chat Settings
Updates the broadcaster's chat settings. All fields are optional; specify only those fields that you want to update.
Return
the updated chat settings.
Parameters
the ID of the broadcaster whose chat settings you want to update.
the ID of a user that has permission to moderate the broadcaster's chat room, or the broadcaster's ID if they're making the update. This ID must match the user ID in the user access token.
a Boolean value that determines whether chat messages must wait before being sent. Set to true to require users to wait; set to false to remove the wait time.
the amount of time, in seconds, that users must wait between sending messages (3–120). Set only if slowMode is true.
a Boolean value that determines whether the broadcaster restricts the chat room to followers only. Set to true to restrict to followers only; set to false to remove the restriction.
the length of time, in minutes, that users must follow the broadcaster before being able to participate in the chat room (0–129600). Set only if followerMode is true. 0 means no minimum.
a Boolean value that determines whether only users that subscribe to the broadcaster's channel may talk in the chat room.
a Boolean value that determines whether chat messages must contain only emotes.
a Boolean value that determines whether the broadcaster requires users to post only unique messages in the chat room (formerly R9K).
a Boolean value that determines whether the broadcaster adds a short delay before chat messages appear in the chat room. This gives chat moderators and bots a chance to remove them before viewers can see the message.
the amount of time, in seconds, that messages are delayed before appearing in chat. Possible values are: 2, 4, and 6. Set only if nonModeratorChatDelay is true.