Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Enum Classes
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Interfaces
    Interface
    Description
    com.github.twitch4j.pubsub.ITwitchPubSub
    Twitch will decommission PubSub on April 14, 2025, with shutdown windows starting in February.
  • Deprecated Classes
    Class
    Description
    com.github.twitch4j.pubsub.domain.CrowdChant
    the crowd chant experiment was disabled by Twitch on 2022-02-02
    com.github.twitch4j.pubsub.domain.FollowingData
    Twitch no longer fires this unofficial event.
    com.github.twitch4j.pubsub.domain.FriendshipData
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.ConductorRewards
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.ConductorRewards.ConductorReward
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.ConductorRewards.ConductorReward.RewardType
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.DifficultySettings
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.DifficultySettings.DifficultySetting
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.HypeTrainKickoff
    com.github.twitch4j.pubsub.domain.PresenceData
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.domain.PresenceData.Activity
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.domain.PresenceSettings
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.domain.RadioData
    Twitch is decommissioning Soundtrack on 2023-07-17
    com.github.twitch4j.pubsub.domain.RadioTrack
    Twitch is decommissioning Soundtrack on 2023-07-17
    com.github.twitch4j.pubsub.events.CrowdChantCreatedEvent
    the crowd chant experiment was disabled by Twitch on 2022-02-02
    com.github.twitch4j.pubsub.events.FollowingEvent
    Twitch no longer fires this unofficial event.
    com.github.twitch4j.pubsub.events.FriendshipEvent
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.events.HypeTrainCooldownExpirationEvent
    Twitch no longer fires this event.
    com.github.twitch4j.pubsub.events.PresenceSettingsEvent
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.events.RadioEvent
    Twitch is decommissioning Soundtrack on 2023-07-17
    com.github.twitch4j.pubsub.events.UserPresenceEvent
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.TwitchPubSubBuilder
    Twitch will decommission PubSub on April 14, 2025, with shutdown windows starting in February.
  • Deprecated Enum Classes
    Enum Class
    Description
    com.github.twitch4j.pubsub.domain.FriendshipData.Change
    Friends are being removed by Twitch on 2022-05-25
  • Deprecated Methods
    Method
    Description
    com.github.twitch4j.pubsub.domain.BitsBadgeData.setBadgeTier(Integer)
    com.github.twitch4j.pubsub.domain.BitsBadgeData.setChannelId(String)
    com.github.twitch4j.pubsub.domain.BitsBadgeData.setChannelName(String)
    com.github.twitch4j.pubsub.domain.BitsBadgeData.setChatMessage(String)
    com.github.twitch4j.pubsub.domain.BitsBadgeData.setTime(String)
    com.github.twitch4j.pubsub.domain.BitsBadgeData.setUserId(String)
    com.github.twitch4j.pubsub.domain.BitsBadgeData.setUserName(String)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.BadgeEntitlement.setNewVersion(int)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.BadgeEntitlement.setPreviousVersion(int)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.isAnonymous(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setBadgeEntitlement(ChannelBitsData.BadgeEntitlement)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setBitsUsed(Integer)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setChannelId(String)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setChannelName(String)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setChatMessage(String)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setContext(String)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setTime(String)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setTotalBitsUsed(Integer)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setUserId(String)
    com.github.twitch4j.pubsub.domain.ChannelBitsData.setUserName(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsBalance.setBalance(Long)
    com.github.twitch4j.pubsub.domain.ChannelPointsBalance.setChannelId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsBalance.setUserId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsEarned.setBalance(ChannelPointsBalance)
    com.github.twitch4j.pubsub.domain.ChannelPointsEarned.setChannelId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsEarned.setPointGain(ChannelPointsGain)
    com.github.twitch4j.pubsub.domain.ChannelPointsEarned.setTimestamp(Instant)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.PointGainMultiplier.setFactor(Double)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.PointGainMultiplier.setReasonCode(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.setBaselinePoints(Integer)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.setChannelId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.setMultipliers(List<ChannelPointsGain.PointGainMultiplier>)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.setReasonCode(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.setTotalPoints(Integer)
    com.github.twitch4j.pubsub.domain.ChannelPointsGain.setUserId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.Image.setUrl1x(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.Image.setUrl2x(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.Image.setUrl4x(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.MaxPerStream.setIsEnabled(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.MaxPerStream.setMaxPerStream(long)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setBackgroundColor(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setChannelId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setCooldownExpiresAt(Instant)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setCost(long)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setDefaultImage(ChannelPointsReward.Image)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setGlobalCooldown(GlobalCooldown)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setImage(ChannelPointsReward.Image)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setIsEnabled(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setIsInStock(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setIsPaused(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setIsSubOnly(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setIsUserInputRequired(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setMaxPerStream(ChannelPointsReward.MaxPerStream)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setMaxPerUserPerStream(MaxPerUserPerStream)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setPrompt(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setRedemptionsRedeemedCurrentStream(Integer)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setShouldRedemptionsSkipRequestQueue(Boolean)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setTemplateId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setTitle(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsReward.setUpdatedForIndicatorAt(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsUser.setDisplayName(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsUser.setId(String)
    com.github.twitch4j.pubsub.domain.ChannelPointsUser.setLogin(String)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setArgs(List<String>)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setCreatedBy(String)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setCreatedByUserId(String)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setFromAutomod(Boolean)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setModerationAction(ChatModerationAction.ModerationAction)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setMsgId(String)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setTargetUserId(String)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setTargetUserLogin(String)
    com.github.twitch4j.pubsub.domain.ChatModerationAction.setType(String)
    com.github.twitch4j.pubsub.domain.CheerbombData.setDisplayName(String)
    com.github.twitch4j.pubsub.domain.CheerbombData.setDomain(String)
    com.github.twitch4j.pubsub.domain.CheerbombData.setSelectedCount(Integer)
    com.github.twitch4j.pubsub.domain.CheerbombData.setTotalRewardCount(Integer)
    com.github.twitch4j.pubsub.domain.CheerbombData.setTriggerAmount(Integer)
    com.github.twitch4j.pubsub.domain.CheerbombData.setTriggerType(String)
    com.github.twitch4j.pubsub.domain.CheerbombData.setUserID(String)
    com.github.twitch4j.pubsub.domain.CheerbombData.setUserLogin(String)
    com.github.twitch4j.pubsub.domain.CommerceMessage.CommerceEmote.getId()
    in favor of CommerceMessage.CommerceEmote.getEmoteId()
    com.github.twitch4j.pubsub.domain.CommerceMessage.CommerceEmote.setEmoteId(String)
    com.github.twitch4j.pubsub.domain.CommerceMessage.CommerceEmote.setEnd(Integer)
    com.github.twitch4j.pubsub.domain.CommerceMessage.CommerceEmote.setStart(Integer)
    com.github.twitch4j.pubsub.domain.CommerceMessage.setEmotes(List<CommerceMessage.CommerceEmote>)
    com.github.twitch4j.pubsub.domain.CommerceMessage.setMessage(String)
    com.github.twitch4j.pubsub.domain.CreateNotificationData.setNotification(OnsiteNotification)
    com.github.twitch4j.pubsub.domain.CreateNotificationData.setPersistent(Boolean)
    com.github.twitch4j.pubsub.domain.CreateNotificationData.setSummary(NotificationSummary)
    com.github.twitch4j.pubsub.domain.CreateNotificationData.setToast(Boolean)
    com.github.twitch4j.pubsub.domain.FriendshipData.Change.fromString(String)
    com.github.twitch4j.pubsub.domain.HypeProgression.isBoostTrain(Boolean)
    com.github.twitch4j.pubsub.domain.HypeProgression.setAction(String)
    com.github.twitch4j.pubsub.domain.HypeProgression.setFastMode(boolean)
    com.github.twitch4j.pubsub.domain.HypeProgression.setId(String)
    com.github.twitch4j.pubsub.domain.HypeProgression.setLargeEvent(boolean)
    com.github.twitch4j.pubsub.domain.HypeProgression.setProgress(HypeTrainProgress)
    com.github.twitch4j.pubsub.domain.HypeProgression.setQuantity(Integer)
    com.github.twitch4j.pubsub.domain.HypeProgression.setSequenceId(Integer)
    com.github.twitch4j.pubsub.domain.HypeProgression.setSource(String)
    com.github.twitch4j.pubsub.domain.HypeProgression.setUserDisplayName(String)
    com.github.twitch4j.pubsub.domain.HypeProgression.setUserId(String)
    com.github.twitch4j.pubsub.domain.HypeProgression.setUserLogin(String)
    com.github.twitch4j.pubsub.domain.HypeProgression.setUserProfileImageUrl(String)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setApproachingHypeTrainId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setBoostTrain(boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setChannelId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setCreatorColor(String)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setEventsRemainingDurations(Map<String, Long>)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setExpiresAt(Instant)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setGoal(Integer)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setGoldenKappaTrain(boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setLevelOneRewards(List<HypeTrainReward>)
    com.github.twitch4j.pubsub.domain.HypeTrainApproaching.setParticipantUserIds(List<String>)
    com.github.twitch4j.pubsub.domain.HypeTrainConductor.setId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConductor.setParticipations(HypeTrainParticipations)
    com.github.twitch4j.pubsub.domain.HypeTrainConductor.setSource(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConductor.setUser(HypeTrainConductorUser)
    com.github.twitch4j.pubsub.domain.HypeTrainConductorUser.setDisplayName(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConductorUser.setId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConductorUser.setLogin(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConductorUser.setProfileImageUrl(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getCalloutEmoteId()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getCalloutEmoteToken()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getChannelId()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getConductorRewards()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getCooldownDuration()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getDifficultySettings()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getHasConductorBadges()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getIsEnabled()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getIsWhitelisted()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getKickoff()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getLevelDuration()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getNotificationThresholds()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getParticipationConversionRates()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getThemeColor()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.getUsePersonalizedSettings()
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setCalloutEmote(Emote)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setCalloutEmoteId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setCalloutEmoteToken(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setChannelId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setConductorRewards(HypeTrainConfig.ConductorRewards)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setConversionRates(List<HypeTrainParticipation>)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setCooldownDuration(Long)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setDifficulty(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setDifficultySetting(List<HypeTrainConfig.DifficultySetting>)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setDifficultySettings(HypeTrainConfig.DifficultySettings)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setHasConductorBadges(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setIsEnabled(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setIsWhitelisted(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setKickoff(HypeTrainConfig.HypeTrainKickoff)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setLeaderRewards(List<HypeTrainConductorReward>)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setLevelDuration(Long)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setNotificationThresholds(HypeTrainParticipations)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setParticipationConversionRates(HypeTrainParticipations)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setPotentialRewards(List<HypeTrainPotentialReward>)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setPrimaryHexColor(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setThemeColor(String)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setUseCreatorColor(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainConfig.setUsePersonalizedSettings(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainEnd.isBoostTrain(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainEnd.setEndedAt(Instant)
    com.github.twitch4j.pubsub.domain.HypeTrainEnd.setEndingReason(String)
    com.github.twitch4j.pubsub.domain.HypeTrainEnd.setId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainEnd.setParticipationTotals(List<HypeTrainParticipation>)
    com.github.twitch4j.pubsub.domain.HypeTrainEnd.setRewards(List<HypeReward>)
    com.github.twitch4j.pubsub.domain.HypeTrainLevel.getImpressions()
    com.github.twitch4j.pubsub.domain.HypeTrainLevel.setAllTimeHighState(String)
    com.github.twitch4j.pubsub.domain.HypeTrainLevel.setGoal(Integer)
    com.github.twitch4j.pubsub.domain.HypeTrainLevel.setId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainLevel.setImpressions(Integer)
    com.github.twitch4j.pubsub.domain.HypeTrainLevel.setRewards(List<HypeTrainReward>)
    com.github.twitch4j.pubsub.domain.HypeTrainLevel.setValue(Integer)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setEmote(Emote)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setGroupId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setRewardEndDate(Instant)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setRewardLevel(Integer)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setSetId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setToken(String)
    com.github.twitch4j.pubsub.domain.HypeTrainReward.setType(String)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.getChannelId()
    com.github.twitch4j.pubsub.domain.HypeTrainStart.getParticipations()
    com.github.twitch4j.pubsub.domain.HypeTrainStart.isBoostTrain()
    com.github.twitch4j.pubsub.domain.HypeTrainStart.isBoostTrain(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.isFastMode(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.isGoldenKappaTrain(Boolean)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setAllTimeHigh(HypeTrainCompleted)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setChannelId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setConductors(List<HypeConductor>)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setConfig(HypeTrainConfig)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setContributions(List<HypeTrainParticipation>)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setExpiresAt(Instant)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setId(String)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setParticipations(HypeTrainParticipations)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setProgress(HypeTrainProgress)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setStartedAt(Instant)
    com.github.twitch4j.pubsub.domain.HypeTrainStart.setUpdatedAt(Instant)
    com.github.twitch4j.pubsub.domain.Leaderboard.Context.setContext(List<Leaderboard.Entry>)
    com.github.twitch4j.pubsub.domain.Leaderboard.Context.setEntry(Leaderboard.Entry)
    com.github.twitch4j.pubsub.domain.Leaderboard.Entry.setEntryKey(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Entry.setRank(Integer)
    com.github.twitch4j.pubsub.domain.Leaderboard.Entry.setScore(Long)
    com.github.twitch4j.pubsub.domain.Leaderboard.Event.setDomain(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Event.setEntryKey(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Event.setEventValue(Long)
    com.github.twitch4j.pubsub.domain.Leaderboard.Event.setGroupingKey(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Event.setId(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Event.setTimeOfEvent(Instant)
    com.github.twitch4j.pubsub.domain.Leaderboard.Identifier.setDomain(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Identifier.setGroupingKey(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Identifier.setTimeAggregationUnit(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.Identifier.setTimeBucket(String)
    com.github.twitch4j.pubsub.domain.Leaderboard.setEntryContext(Leaderboard.Context)
    com.github.twitch4j.pubsub.domain.Leaderboard.setEvent(Leaderboard.Event)
    com.github.twitch4j.pubsub.domain.Leaderboard.setIdentifier(Leaderboard.Identifier)
    com.github.twitch4j.pubsub.domain.Leaderboard.setTop(List<Leaderboard.Entry>)
    com.github.twitch4j.pubsub.domain.NotificationSummary.setLastSeenAt(Instant)
    com.github.twitch4j.pubsub.domain.NotificationSummary.setUnseenViewCount(Integer)
    com.github.twitch4j.pubsub.domain.PointsSpent.Balance.setBalance(Long)
    com.github.twitch4j.pubsub.domain.PointsSpent.Balance.setChannelId(String)
    com.github.twitch4j.pubsub.domain.PointsSpent.Balance.setUserId(String)
    com.github.twitch4j.pubsub.domain.PointsSpent.setBalance(PointsSpent.Balance)
    com.github.twitch4j.pubsub.domain.PointsSpent.setTimestamp(Instant)
    com.github.twitch4j.pubsub.domain.PollData.Contributor.getBitsContributed()
    com.github.twitch4j.pubsub.domain.PollData.Contributor.setBitsContributed(Long)
    com.github.twitch4j.pubsub.domain.PollData.Contributor.setChannelPointsContributed(Long)
    com.github.twitch4j.pubsub.domain.PollData.Contributor.setDisplayName(String)
    com.github.twitch4j.pubsub.domain.PollData.Contributor.setUserId(String)
    com.github.twitch4j.pubsub.domain.PollData.getTopBitsContributor()
    com.github.twitch4j.pubsub.domain.PollData.PollChoice.setChoiceId(String)
    com.github.twitch4j.pubsub.domain.PollData.PollChoice.setTitle(String)
    com.github.twitch4j.pubsub.domain.PollData.PollChoice.setTokens(PollData.Tokens)
    com.github.twitch4j.pubsub.domain.PollData.PollChoice.setTotalVoters(Integer)
    com.github.twitch4j.pubsub.domain.PollData.PollChoice.setVotes(PollData.Votes)
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.getBitsVotes()
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.setBitsVotes(PollData.PollSettings.Setting)
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.setChannelPointsVotes(PollData.PollSettings.Setting)
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.setMultiChoice(PollData.PollSettings.Setting)
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.setSubscriberMultiplier(PollData.PollSettings.Setting)
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.setSubscriberOnly(PollData.PollSettings.Setting)
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.Setting.setCost(Long)
    com.github.twitch4j.pubsub.domain.PollData.PollSettings.Setting.setIsEnabled(Boolean)
    com.github.twitch4j.pubsub.domain.PollData.setChoices(List<PollData.PollChoice>)
    com.github.twitch4j.pubsub.domain.PollData.setCreatedBy(String)
    com.github.twitch4j.pubsub.domain.PollData.setDurationSeconds(Long)
    com.github.twitch4j.pubsub.domain.PollData.setEndedAt(Instant)
    com.github.twitch4j.pubsub.domain.PollData.setEndedBy(String)
    com.github.twitch4j.pubsub.domain.PollData.setOwnedBy(String)
    com.github.twitch4j.pubsub.domain.PollData.setPollId(String)
    com.github.twitch4j.pubsub.domain.PollData.setRemainingDurationMilliseconds(Long)
    com.github.twitch4j.pubsub.domain.PollData.setSettings(PollData.PollSettings)
    com.github.twitch4j.pubsub.domain.PollData.setStartedAt(Instant)
    com.github.twitch4j.pubsub.domain.PollData.setStatus(PollData.Status)
    com.github.twitch4j.pubsub.domain.PollData.setTitle(String)
    com.github.twitch4j.pubsub.domain.PollData.setTokens(PollData.Tokens)
    com.github.twitch4j.pubsub.domain.PollData.setTopBitsContributor(PollData.Contributor)
    com.github.twitch4j.pubsub.domain.PollData.setTopChannelPointsContributor(PollData.Contributor)
    com.github.twitch4j.pubsub.domain.PollData.setTopContributor(PollData.Contributor)
    com.github.twitch4j.pubsub.domain.PollData.setTotalVoters(Integer)
    com.github.twitch4j.pubsub.domain.PollData.setVotes(PollData.Votes)
    com.github.twitch4j.pubsub.domain.PollData.Tokens.getBits()
    com.github.twitch4j.pubsub.domain.PollData.Tokens.setBits(Long)
    com.github.twitch4j.pubsub.domain.PollData.Tokens.setChannelPoints(Long)
    com.github.twitch4j.pubsub.domain.PollData.Votes.getBits()
    com.github.twitch4j.pubsub.domain.PollData.Votes.setBase(Long)
    com.github.twitch4j.pubsub.domain.PollData.Votes.setBits(Long)
    com.github.twitch4j.pubsub.domain.PollData.Votes.setChannelPoints(Long)
    com.github.twitch4j.pubsub.domain.PollData.Votes.setTotal(Long)
    com.github.twitch4j.pubsub.domain.RaidData.setCreatorId(String)
    com.github.twitch4j.pubsub.domain.RaidData.setForceRaidNowSeconds(Integer)
    com.github.twitch4j.pubsub.domain.RaidData.setId(String)
    com.github.twitch4j.pubsub.domain.RaidData.setSourceId(String)
    com.github.twitch4j.pubsub.domain.RaidData.setTargetDisplayName(String)
    com.github.twitch4j.pubsub.domain.RaidData.setTargetId(String)
    com.github.twitch4j.pubsub.domain.RaidData.setTargetLogin(String)
    com.github.twitch4j.pubsub.domain.RaidData.setTargetProfileImage(String)
    com.github.twitch4j.pubsub.domain.RaidData.setTransitionJitterSeconds(Integer)
    com.github.twitch4j.pubsub.domain.RaidData.setViewerCount(Integer)
    com.github.twitch4j.pubsub.domain.SubGiftData.setChannelId(String)
    com.github.twitch4j.pubsub.domain.SubGiftData.setCount(Integer)
    com.github.twitch4j.pubsub.domain.SubGiftData.setDisplayName(String)
    com.github.twitch4j.pubsub.domain.SubGiftData.setTier(SubscriptionPlan)
    com.github.twitch4j.pubsub.domain.SubGiftData.setType(String)
    com.github.twitch4j.pubsub.domain.SubGiftData.setUserId(String)
    com.github.twitch4j.pubsub.domain.SubGiftData.setUserName(String)
    com.github.twitch4j.pubsub.domain.SubGiftData.setUuid(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.getMonths()
    com.github.twitch4j.pubsub.domain.SubscriptionData.getTime()
    in favor of getTimestamp()
    com.github.twitch4j.pubsub.domain.SubscriptionData.setBenefitEndMonth(Integer)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setChannelId(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setChannelName(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setContext(SubscriptionType)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setCumulativeMonths(Integer)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setDisplayName(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setIsGift(Boolean)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setMonths(Integer)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setMultiMonthDuration(Integer)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setRecipientDisplayName(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setRecipientId(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setRecipientUserName(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setStreakMonths(Integer)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setSubMessage(CommerceMessage)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setSubPlan(SubscriptionPlan)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setSubPlanName(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setTimestamp(Instant)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setUserId(String)
    com.github.twitch4j.pubsub.domain.SubscriptionData.setUserName(String)
    com.github.twitch4j.pubsub.domain.UpdateSummaryData.setSummary(NotificationSummary)
    com.github.twitch4j.pubsub.domain.VideoPlaybackData.setLength(Integer)
    com.github.twitch4j.pubsub.domain.VideoPlaybackData.setPlayDelay(Integer)
    com.github.twitch4j.pubsub.domain.VideoPlaybackData.setScheduled(Boolean)
    com.github.twitch4j.pubsub.domain.VideoPlaybackData.setServerTime(String)
    com.github.twitch4j.pubsub.domain.VideoPlaybackData.setType(VideoPlaybackData.Type)
    com.github.twitch4j.pubsub.domain.VideoPlaybackData.setViewers(Integer)
    com.github.twitch4j.pubsub.events.ChannelPointsRedemptionEvent.getTimestamp()
    in favor of getTime()
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForAdPropertyRefreshEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForAutomodQueueEvents(OAuth2Credential, String, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForBitsBadgeEvents(OAuth2Credential, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForBountyBoardEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForCelebrationEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForChannelChatroomEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForChannelDropEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForChannelExtensionEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForChannelPointsRedemptionEvents(OAuth2Credential, String)
    Twitch will decommission PubSub on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForChannelPrimeGiftStatusEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForChannelSquadEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForCheerEvents(OAuth2Credential, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForCommerceEvents(OAuth2Credential, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForCrowdChantEvents(OAuth2Credential, String)
    the crowd chant experiment was disabled by Twitch on 2022-02-02
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForDashboardActivityFeedEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForExtensionControlEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForFollowingEvents(OAuth2Credential, String)
    Twitch has silently disabled this topic, even for first-party moderator tokens. You should migrate to eventsub (websocket) channel.follow v2 subscription type.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForFriendshipEvents(OAuth2Credential, String)
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForHypeTrainRewardEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForLowTrustUsersEvents(OAuth2Credential, String, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForModerationEvents(OAuth2Credential, String)
    in favor of listenForModerationEvents(OAuth2Credential, String, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForModerationEvents(OAuth2Credential, String, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForPresenceEvents(OAuth2Credential, String)
    Friends are being removed by Twitch on 2022-05-25
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForPublicBitEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForRadioEvents(OAuth2Credential, String)
    Twitch is decommissioning Soundtrack on 2023-07-17
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForStreamChangeEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForStreamChatRoomEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForSubscriptionEvents(OAuth2Credential, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForUserBitsUpdateEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForUserCampaignEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForUserDropEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForUserImageUpdateEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForUserModerationNotificationEvents(OAuth2Credential, String, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForUserPropertiesUpdateEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForUserSubscribeEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForWatchPartyEvents(OAuth2Credential, String)
    com.github.twitch4j.pubsub.ITwitchPubSub.listenForWhisperEvents(OAuth2Credential, String)
    Twitch will decommission all official PubSub topics on April 14, 2025.
    com.github.twitch4j.pubsub.TwitchPubSubBuilder.build()
    Twitch will decommission PubSub on April 14, 2025, with shutdown windows starting in February.
    com.github.twitch4j.pubsub.TwitchPubSubBuilder.builder()
    Twitch will decommission PubSub on April 14, 2025, with shutdown windows starting in February.
  • Deprecated Constructors
    Constructor
    Description
    com.github.twitch4j.pubsub.TwitchPubSub(WebsocketConnection, EventManager, ScheduledThreadPoolExecutor, ProxyConfig, Collection<String>, int, IBackoffStrategy, int, Consumer<PubSubResponsePayload>)
    Twitch will decommission PubSub on April 14, 2025, with shutdown windows starting in February.
  • Deprecated Enum Constants
    Enum Constant
    Description
    com.github.twitch4j.pubsub.domain.AutomodCaughtMessageData.Status.APPROVED
    com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction.ADD_BLOCKED_TERM
    use ChannelTermsEvent
    com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction.ADD_PERMITTED_TERM
    use ChannelTermsEvent
    com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction.DELETE_BLOCKED_TERM
    use ChannelTermsEvent
    com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction.DELETE_PERMITTED_TERM
    use ChannelTermsEvent
    com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction.HOST
    Twitch is removing host mode on October 3, 2022
    com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction.MODIFIED_AUTOMOD_PROPERTIES
    this action is no longer sent over this topic
    com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction.UNHOST
    Twitch is removing host mode on October 3, 2022