Klasse ChannelSubscriptionMessageEvent


public class ChannelSubscriptionMessageEvent extends EventSubUserChannelEvent
  • Konstruktordetails

    • ChannelSubscriptionMessageEvent

      public ChannelSubscriptionMessageEvent()
  • Methodendetails

    • getTier

      public SubscriptionPlan getTier()
      The tier of the user’s subscription.
    • getMessage

      public Message getMessage()
      An object that contains the re-subscription message and emote information needed to recreate the message.
    • getCumulativeMonths

      public Integer getCumulativeMonths()
      The total number of months the user has been subscribed to the channel.
    • getStreakMonths

      @Nullable public @Nullable Integer getStreakMonths()
      The number of consecutive months the user’s current subscription has been active. This value is null if the user has opted out of sharing this information.
    • getDurationMonths

      public Integer getDurationMonths()
      The month duration of the subscription.
    • toString

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

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

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

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