Expand description
§Twitch message types
The entrypoint to this module is Message
.
To convert an incoming IrcMessage
into a Message
,
use IrcMessage::as_typed
.
Re-exports§
pub use clear_chat::*;
pub use clear_msg::*;
pub use global_user_state::*;
pub use join::*;
pub use notice::*;
pub use part::*;
pub use ping::*;
pub use pong::*;
pub use privmsg::*;
pub use room_state::*;
pub use user_notice::*;
pub use user_state::*;
pub use whisper::*;
Modules§
- Sent when the chat is cleared of a batch of messages.
- Sent when a single message is deleted.
- This command is sent once upon successful login to Twitch IRC.
- Sent when a user joins a channel.
- Sent by Twitch for various reasons to notify the client about something, usually in response to invalid actions.
- Sent when a user leaves a channel.
- Sent regularly by TMI to ensure clients are still live. You must respond to TMI pings with a
Pong
. - Sent by TMI as a response to a
Ping
. - Represents a basic Twitch chat message sent by some user to a specific channel.
- A partial update to the settings of some channel.
- A user notice is sent when some
Event
occurs. - Sent upon joining a channel, or upon successfully sending a
PRIVMSG
message to a channel. - A direct message between users.
Structs§
- Basic info about a badge.
- Failed to parse a message.
- A subscriber badge.
- Basic information about a user.
Enums§
- A chat badge.
- A fully parsed Twitch chat message.
Traits§
- Implemented for types which may be parsed from a base
IrcMessage
.