Class BanSharingSettingsUpdateEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.pubsub.events.BanSharingSettingsUpdateEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
Fired when a channel changes their ban sharing settings.
This includes changing the low trust treatment that is applied to users with shared bans, or changing which types of users can request the broadcaster to share their bans.
Requires ITwitchPubSub.listenForLowTrustUsersEvents(OAuth2Credential, String, String)
.
-
Constructor Summary
ConstructorDescriptionBanSharingSettingsUpdateEvent
(String moderatorId, String channelId, BanSharingSettings data) -
Method Summary
Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Constructor Details
-
BanSharingSettingsUpdateEvent
-
-
Method Details
-
getModeratorId
-
getChannelId
-
getData
-
toString
- Overrides:
toString
in classTwitchEvent
-
equals
- Overrides:
equals
in classTwitchEvent
-
canEqual
- Overrides:
canEqual
in classTwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTwitchEvent
-