Class ChatModerationEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.pubsub.events.ChatModerationEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
-
Constructor Summary
ConstructorsConstructorDescriptionChatModerationEvent(String channelId, ChatModerationAction data) Creates a newChatModerationEventinstance. -
Method Summary
Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Constructor Details
-
ChatModerationEvent
Creates a newChatModerationEventinstance.- Parameters:
channelId- The ID for the channel where the moderation action took placedata- Data regarding the moderation action that took place
-
-
Method Details
-
getChannelId
The ID for the channel where the moderation action took place -
getData
Data regarding the moderation action that took place -
toString
- Overrides:
toStringin classTwitchEvent
-
equals
- Overrides:
equalsin classTwitchEvent
-
canEqual
- Overrides:
canEqualin classTwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classTwitchEvent
-