Package com.gmt2001.twitch.tmi
Class TMIMessage
java.lang.Object
com.gmt2001.twitch.tmi.TMIMessage
An IRCv3 formatted message from TMI
- Author:
- gmt2001
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal class
The index of an emote in the parametersstatic enum
The type of message -
Method Summary
-
Method Details
-
messageType
- Returns:
- The message type
-
tags
- Returns:
- The IRCv3 tags. Badges, emotes, and emote-sets are still in raw form in this Map
-
badges
- Returns:
- The badges and badge-info components of the IRCv3 tags
-
emotes
- Returns:
- The emotes component of the IRCv3 tags, parsed into emoteId: List<
TMIMessage.EmoteLocation
> pairs
-
emoteSets
- Returns:
- The emote-sets component of the IRCv3 tags
-
nick
- Returns:
- The nick that sent the message, if present
-
host
- Returns:
- The host that sent the message, if present
-
command
- Returns:
- The IRC command received
-
channel
- Returns:
- The channel the command was received in, if present
-
parameters
- Returns:
- The parameters of the command, if present
-