Class FollowEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.channel.FollowEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
public final class FollowEvent extends AbstractChannelEvent
This event gets called when a user gets a new followers
-
Constructor Summary
Constructors Constructor Description FollowEvent(com.github.twitch4j.common.events.domain.EventChannel channel, com.github.twitch4j.common.events.domain.EventUser user)Event Constructor -
Method Summary
Methods inherited from class com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unbanMethods inherited from class com.github.twitch4j.chat.events.TwitchEvent
getTwitchChatMethods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediatorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
FollowEvent
public FollowEvent(com.github.twitch4j.common.events.domain.EventChannel channel, com.github.twitch4j.common.events.domain.EventUser user)Event Constructor- Parameters:
channel- The channel that this event originates from.user- The user who triggered the event.
-
-
Method Details
-
getUser
public com.github.twitch4j.common.events.domain.EventUser getUser()User -
toString
public java.lang.String toString()- Overrides:
toStringin classAbstractChannelEvent
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classAbstractChannelEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classAbstractChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractChannelEvent
-