[−][src]Module twitch_irc::message
Generic and Twitch-specific IRC messages.
Structs
Badge | A single Twitch "badge" to be shown next to the user's name in chat. |
ClearChatMessage | Timeout, Permaban or when a chat is entirely cleared. |
ClearMsgMessage | Message for when a single message is deleted from chat. |
Emote | A single emote, appearing as part of a message. |
GlobalUserStateMessage | Sent once directly after successful login, containing properties for the logged in user. |
HostTargetMessage | When a channel starts or stops hosting another channel. |
IRCMessage | A protocol-level IRC message, with arbitrary command, parameters, tags and prefix. |
IRCTags | A map of key-value IRCv3 tags. |
JoinMessage | Message received when you successfully join a channel. |
NoticeMessage | A user-facing notice sent by the server. |
PartMessage | Message received when you successfully leave (part) a channel. |
PingMessage | A |
PongMessage | A |
PrivmsgMessage | A regular Twitch chat message. |
RGBColor | An RGB color, used to color chat user's names. |
ReconnectMessage | Sent by the server to signal a connection to disconnect and reconnect |
RoomStateMessage | Sent when a channel is initially joined or when a channel updates it state. |
SubGiftPromo | Additionally present on |
TwitchUserBasics | Set of information describing the basic details of a Twitch user. |
UserNoticeMessage | A Twitch |
UserStateMessage | Sent when you join a channel or when you successfully sent a |
WhisperMessage | A incoming whisper message (a private user-to-user message). |
Enums
ClearChatAction | One of the three types of meaning a |
HostTargetAction | The type of action that a |
IRCParseError | Error while parsing a string into an |
IRCPrefix | A "prefix" part of an IRC message, as defined by RFC 2812: |
ServerMessage | An IRCMessage that has been parsed into a more concrete type based on its command. |
ServerMessageParseError | Errors encountered while trying to parse an IRC message as a more specialized "server message", based on its IRC command. |
UserNoticeEvent | A type of event that a |
Traits
AsRawIRC | Anything that can be converted into the raw IRC wire format. |