Class AutomaticRewardRedemptionAddEvent


public class AutomaticRewardRedemptionAddEvent extends EventSubUserChannelEvent
  • Constructor Details

    • AutomaticRewardRedemptionAddEvent

      public AutomaticRewardRedemptionAddEvent()
  • Method Details

    • getRedemptionId

      public String getRedemptionId()
      The ID of the Redemption.
    • getReward

      public AutomaticReward getReward()
      An object that contains the reward information.
    • getMessage

      public Message getMessage()
      An object that contains the user message and emote information needed to recreate the message.
    • getUserInput

      @Nullable public @Nullable String getUserInput()
      A string that the user entered if the reward requires input.
    • getRedeemedAt

      public Instant getRedeemedAt()
      The UTC date and time (in RFC3339 format) of when the reward was redeemed.
    • toString

      public String toString()
      Overrides:
      toString in class EventSubUserChannelEvent
    • equals

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

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

      public int hashCode()
      Overrides:
      hashCode in class EventSubUserChannelEvent