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
ConstructorDescriptionChatModerationEvent
(String channelId, ChatModerationAction data) Creates a newChatModerationEvent
instance. -
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 newChatModerationEvent
instance.- 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:
toString
in classTwitchEvent
-
equals
- Overrides:
equals
in classTwitchEvent
-
canEqual
- Overrides:
canEqual
in classTwitchEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTwitchEvent
-