Class MessageParser

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

public final class MessageParser extends Object
  • Method Details

    • parse

      @Nullable @VisibleForTesting public static @Nullable IRCMessageEvent parse(@NotNull @NotNull String rawMessage)
    • parse

      @Nullable @Internal public static @Nullable IRCMessageEvent parse(@NotNull @NotNull String raw, @NotNull @NotNull Map<String,String> channelIdToChannelName, @NotNull @NotNull Map<String,String> channelNameToChannelId, @Nullable @Nullable Collection<String> botOwnerIds)
    • parseTags

      @VisibleForTesting public static int parseTags(char[] inputChars, Map<String,CharSequence> output)
    • consumeLines

      @Internal public static void consumeLines(@NotNull @NotNull String source, @NotNull @NotNull Consumer<String> consumer)