Klasse ChatCrowdChant

java.lang.Object
com.github.twitch4j.chat.util.ChatCrowdChant

@Unofficial @Deprecated public final class ChatCrowdChant extends Object
Information regarding a Crowd Chant participation or initiation.
Siehe auch:
  • Felddetails

  • Konstruktordetails

    • ChatCrowdChant

      public ChatCrowdChant(String messageId, String text, boolean initiator, String channelName)
      Veraltet.
  • Methodendetails

    • participate

      @Unofficial @Deprecated public void participate(ITwitchChat chat)
      Sends the same message in the same channel to participate in the Crowd Chant, with the proper chat tag.
      Parameter:
      chat - an authenticated TwitchChat instance.
    • parse

      @Nullable public static @Nullable ChatCrowdChant parse(IRCMessageEvent event)
      Veraltet.
      Attempts to parse the ChatCrowdChant information from a chat event.
      Parameter:
      event - the raw IRCMessageEvent.
      Gibt zurück:
      ChatCrowdChant (or null if parsing was unsuccessful)
    • getMessageId

      public String getMessageId()
      Veraltet.
      The id for the parent message in the Crowd Chant.
    • getText

      public String getText()
      Veraltet.
      The text being chanted.
    • isInitiator

      public boolean isInitiator()
      Veraltet.
      Whether this message initiated a crowd chat. When false, the message is simply participating in the chant, rather than initiating.
    • equals

      public boolean equals(Object o)
      Veraltet.
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Veraltet.
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Veraltet.
      Setzt außer Kraft:
      toString in Klasse Object