Package com.github.twitch4j.helix.interceptor
package com.github.twitch4j.helix.interceptor
-
ClassDescriptionSerializes
Collection<ContentClassificationState>
withinChannelInformation
forTwitchHelix.updateChannelInformation(String, String, ChannelInformation)
whereContentClassification.MATURE_GAME
is not included inChannelInformation.getContentClassificationLabels()
since this label is controlled by the game category (rather than the user).When serializingCustomReward
forTwitchHelix.createCustomReward(String, String, CustomReward)
orTwitchHelix.updateCustomReward(String, String, String, CustomReward)
, Twitch requires MaxPerStreamSetting, MaxPerUserPerStreamSetting, and GlobalCooldownSetting to be sent unwrapped (i.e., in the root of the object).Injects ClientId Header, the User Agent and other common headers into each API Request