Class ShoutoutCreateEvent

All Implemented Interfaces:
ModeratorEvent

public final class ShoutoutCreateEvent extends EventSubChannelFromToEvent implements ModeratorEvent
  • Constructor Details

  • Method Details

    • getModeratorUserId

      public String 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 interface ModeratorEvent
    • getModeratorUserName

      public String getModeratorUserName()
      The moderator’s display name.
      Specified by:
      getModeratorUserName in interface ModeratorEvent
    • getModeratorUserLogin

      public String getModeratorUserLogin()
      The moderator’s login name.
      Specified by:
      getModeratorUserLogin in interface ModeratorEvent
    • getViewerCount

      public Integer getViewerCount()
      The number of users that were watching the broadcaster’s stream at the time of the Shoutout.
    • getCooldownEndsAt

      public Instant getCooldownEndsAt()
      The UTC timestamp (in RFC3339 format) of when the broadcaster may send a Shoutout to a different broadcaster.
    • getTargetCooldownEndsAt

      public Instant getTargetCooldownEndsAt()
      The UTC timestamp (in RFC3339 format) of when the broadcaster may send another Shoutout to the broadcaster in to_broadcaster_user_id.
    • getStartedAt

      public Instant getStartedAt()
      The UTC timestamp of when the moderator sent the Shoutout.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class EventSubChannelFromToEvent
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class EventSubChannelFromToEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class EventSubChannelFromToEvent
    • toString

      public String toString()
      Overrides:
      toString in class EventSubChannelFromToEvent