Klasse GiftedMultiMonthSubCourtesyEvent

Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent

@Unofficial public final class GiftedMultiMonthSubCourtesyEvent extends AbstractChannelEvent
This event occurs when a recipient of a multi-month gift sub enters a new month of the subscription, and shares a re-subscription message, despite no additional monetary transaction accompanying their message.

Webchat shows these events with this accompanying text: N month Gift Subscription courtesy of GIFTER_DISPLAY_NAME has entered month M.

The parameters specific to this event are not officially documented.

  • Konstruktordetails

    • GiftedMultiMonthSubCourtesyEvent

      public GiftedMultiMonthSubCourtesyEvent(IRCMessageEvent event)
      Event Constructor
      Parameter:
      event - the raw message event
  • Methodendetails

    • getMessageEvent

      public IRCMessageEvent getMessageEvent()
      Raw message event.
    • getUser

      public EventUser getUser()
      The gift recipient that is sending this resub message.
    • getMessage

      public String getMessage()
      The user-specified message attached to this notification.
    • getSubscriptionPlan

      public SubscriptionPlan getSubscriptionPlan()
      The tier of the multi-month gifted subscription.
    • isWasAnonymous

      public boolean isWasAnonymous()
      Whether the original multi-month gift was done by an anonymous user.
    • getGifter

      public EventUser getGifter()
      The user that originally gifted the multi-month gift subscription.
    • getGiftMonths

      public Integer getGiftMonths()
      The number of months that were originally gifted as part of the multi-month subscription.
    • getRedeemedMonth

      public Integer getRedeemedMonth()
      The gift month that is being redeemed.
    • getCumulativeMonths

      public Integer getCumulativeMonths()
      The cumulative number of months the user has been subscribed to this channel.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse AbstractChannelEvent
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse AbstractChannelEvent
    • canEqual

      protected boolean canEqual(Object other)
      Setzt außer Kraft:
      canEqual in Klasse AbstractChannelEvent
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse AbstractChannelEvent