Module twitch_api2::pubsub
source · [−]pubsub
only.Expand description
Holds serializable pubsub stuff
Use listen_command()
to send subscription listen and parse the responses with Response::parse
Undocumented features
This crate has some pubsub topics that are not documented by twitch. These may stop working at any time. To enable these, use feature
unsupported
to use them. Note that this crate doesn’t try to keep changes to these pubsub topics semver compatible.
Modules
PubSub messages for when AutoMod flags a message as potentially inappropriate, and when a moderator takes action on a message.
PubSub messages for bits
PubSub messages for bits
unsupported
PubSub messages for cheer events
PubSub messages for channel points
unsupported
PubSub messages for sub gifts
PubSub messages for subscriptions
unsupported
PubSub messages for community points.
unsupported
PubSub messages for follows
unsupported
PubSub messages for hype-trains
PubSub messages for moderator actions
unsupported
PubSub messages for raids
PubSub messages for user moderation notifications
unsupported
PubSub messages for (live) stream playback information
Structs
Response from twitch PubSub
Enums
Response from twitchs PubSub server. Either a response indicating status of something or a message from a topic
Message response from twitch PubSub.
All possible topics
Traits
A logical partition of messages that clients may subscribe to, to get messages.
Functions
Create a listen command.
Create a unlisten command.