Class ShoutoutCreateEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelFromToEvent
com.github.twitch4j.eventsub.events.ShoutoutCreateEvent
- All Implemented Interfaces:
ModeratorEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The UTC timestamp (in RFC3339 format) of when the broadcaster may send a Shoutout to a different broadcaster.An ID that identifies the moderator that sent the Shoutout.The moderator’s login name.The moderator’s display name.The UTC timestamp of when the moderator sent the Shoutout.The UTC timestamp (in RFC3339 format) of when the broadcaster may send another Shoutout to the broadcaster in to_broadcaster_user_id.The number of users that were watching the broadcaster’s stream at the time of the Shoutout.int
hashCode()
toString()
Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelFromToEvent
getFromBroadcasterUserId, getFromBroadcasterUserLogin, getFromBroadcasterUserName, getToBroadcasterUserId, getToBroadcasterUserLogin, getToBroadcasterUserName
-
Constructor Details
-
ShoutoutCreateEvent
-
-
Method Details
-
getModeratorUserId
An ID that identifies the moderator that sent the Shoutout. If the broadcaster sent the Shoutout, this ID is the same as the ID in broadcaster_user_id.- Specified by:
getModeratorUserId
in interfaceModeratorEvent
-
getModeratorUserName
The moderator’s display name.- Specified by:
getModeratorUserName
in interfaceModeratorEvent
-
getModeratorUserLogin
The moderator’s login name.- Specified by:
getModeratorUserLogin
in interfaceModeratorEvent
-
getViewerCount
The number of users that were watching the broadcaster’s stream at the time of the Shoutout. -
getCooldownEndsAt
The UTC timestamp (in RFC3339 format) of when the broadcaster may send a Shoutout to a different broadcaster. -
getTargetCooldownEndsAt
The UTC timestamp (in RFC3339 format) of when the broadcaster may send another Shoutout to the broadcaster in to_broadcaster_user_id. -
getStartedAt
The UTC timestamp of when the moderator sent the Shoutout. -
equals
- Overrides:
equals
in classEventSubChannelFromToEvent
-
canEqual
- Overrides:
canEqual
in classEventSubChannelFromToEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEventSubChannelFromToEvent
-
toString
- Overrides:
toString
in classEventSubChannelFromToEvent
-