Class RitualEvent
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.RitualEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
@Deprecated
@ScheduledForRemoval(inVersion="2.0.0")
public final class RitualEvent
extends AbstractChannelEvent
Deprecated.
no longer sent by twitch.
Called when a ritual takes place in chat.
Many channels have special rituals to celebrate viewer milestones when they are shared. The rituals notice extends the sharing of these messages to other viewer milestones (initially, a new viewer chatting for the first time).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRitualEvent(EventChannel channel, EventUser user, String ritualName) Deprecated.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, setServiceMediator
-
Constructor Details
-
RitualEvent
Deprecated.Event Constructor- Parameters:
channel- The channel that this event originates from.user- The user involved in the ritual.ritualName- The name of the ritual this notice is for.
-
-
Method Details
-
isNewChatter
public boolean isNewChatter()Deprecated.- Returns:
- whether the ritual corresponds to a new viewer chatting for the first time
-
getUser
Deprecated.The user involved in the ritual. -
getRitualName
Deprecated.The name of the ritual this notice is for. -
equals
Deprecated.- Overrides:
equalsin classAbstractChannelEvent
-
canEqual
Deprecated.- Overrides:
canEqualin classAbstractChannelEvent
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classAbstractChannelEvent
-
toString
Deprecated.- Overrides:
toStringin classAbstractChannelEvent
-