Class ChannelChatSettingsUpdateEvent


public class ChannelChatSettingsUpdateEvent extends EventSubChannelEvent
  • Constructor Details

    • ChannelChatSettingsUpdateEvent

      public ChannelChatSettingsUpdateEvent()
  • Method Details

    • isEmoteMode

      public Boolean isEmoteMode()
      Whether chat messages must contain only emotes.
    • isFollowerMode

      public Boolean isFollowerMode()
      Whether the broadcaster restricts the chat room to followers only, based on how long they’ve followed.

      See getFollowerModeDurationMinutes() for how long the followers must have followed the broadcaster to participate in the chat room.

    • getFollowerModeDurationMinutes

      @Nullable public @Nullable Integer getFollowerModeDurationMinutes()
      The length of time, in minutes, that the followers must have followed the broadcaster to participate in the chat room.

      Null if isFollowerMode() is not true.

    • isSlowMode

      public Boolean isSlowMode()
      Whether the broadcaster limits how often users in the chat room are allowed to send messages.

      See getSlowModeWaitTimeSeconds() for the delay.

    • getSlowModeWaitTimeSeconds

      @Nullable public @Nullable Integer getSlowModeWaitTimeSeconds()
      The amount of time, in seconds, that users need to wait between sending messages.

      Null if isSlowMode() is not true.

    • isSubscriberMode

      public Boolean isSubscriberMode()
      Whether only users that subscribe to the broadcaster’s channel can talk in the chat room.
    • isUniqueMode

      public Boolean isUniqueMode()
      Whether the broadcaster requires users to post only unique messages in the chat room.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class EventSubChannelEvent