Available on crate feature 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

channel_cheerunsupported

PubSub messages for cheer events

PubSub messages for channel points

PubSub messages for sub gifts

PubSub messages for subscriptions

community_pointsunsupported

PubSub messages for community points.

followingunsupported

PubSub messages for follows

hypetrainunsupported

PubSub messages for hype-trains

PubSub messages for moderator actions

raidunsupported

PubSub messages for raids

PubSub messages for user moderation notifications

video_playbackunsupported

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.