Enum twitch_api::pubsub::TopicData
source · [−]pub enum TopicData {
Show 16 variants
AutoModQueue {
topic: AutoModQueue,
reply: Box<AutoModQueueReply>,
},
ChannelBitsEventsV2 {
topic: ChannelBitsEventsV2,
reply: Box<ChannelBitsEventsV2Reply>,
},
ChannelBitsBadgeUnlocks {
topic: ChannelBitsBadgeUnlocks,
reply: Box<ChannelBitsBadgeUnlocksReply>,
},
ChatModeratorActions {
topic: ChatModeratorActions,
reply: Box<ChatModeratorActionsReply>,
},
ChannelPointsChannelV1 {
topic: ChannelPointsChannelV1,
reply: Box<ChannelPointsChannelV1Reply>,
},
ChannelSubscribeEventsV1 {
topic: ChannelSubscribeEventsV1,
reply: Box<ChannelSubscribeEventsV1Reply>,
},
CommunityPointsChannelV1 {
topic: CommunityPointsChannelV1,
reply: Box<ChannelPointsChannelV1Reply>,
},
ChannelCheerEventsPublicV1 {
topic: ChannelCheerEventsPublicV1,
reply: Box<ChannelCheerEventsPublicV1Reply>,
},
ChannelSubGiftsV1 {
topic: ChannelSubGiftsV1,
reply: Box<ChannelSubGiftsV1Reply>,
},
VideoPlayback {
topic: VideoPlayback,
reply: Box<VideoPlaybackReply>,
},
VideoPlaybackById {
topic: VideoPlaybackById,
reply: Box<VideoPlaybackReply>,
},
HypeTrainEventsV1 {
topic: HypeTrainEventsV1,
reply: Box<HypeTrainEventsV1Reply>,
},
HypeTrainEventsV1Rewards {
topic: HypeTrainEventsV1Rewards,
reply: Box<HypeTrainEventsV1Reply>,
},
Following {
topic: Following,
reply: Box<FollowingReply>,
},
Raid {
topic: Raid,
reply: Box<RaidReply>,
},
UserModerationNotifications {
topic: UserModerationNotifications,
reply: Box<UserModerationNotificationsReply>,
},
}
pubsub
only.Expand description
Message response from twitch PubSub.
See TwitchResponse
Variants
AutoModQueue
Fields
topic: AutoModQueue
Topic message
reply: Box<AutoModQueueReply>
Message reply from topic subscription
Response from the automod_queue::AutoModQueue topic.
ChannelBitsEventsV2
Fields
topic: ChannelBitsEventsV2
Topic message
reply: Box<ChannelBitsEventsV2Reply>
Message reply from topic subscription
Response from the channel_bits::ChannelBitsEventsV2 topic.
ChannelBitsBadgeUnlocks
Fields
topic: ChannelBitsBadgeUnlocks
Topic message
reply: Box<ChannelBitsBadgeUnlocksReply>
Message reply from topic subscription
Response from the channel_bits_badge::ChannelBitsBadgeUnlocks topic.
ChatModeratorActions
Fields
topic: ChatModeratorActions
Topic message
reply: Box<ChatModeratorActionsReply>
Message reply from topic subscription
Response from the moderation::ChatModeratorActions topic.
ChannelPointsChannelV1
Fields
topic: ChannelPointsChannelV1
Topic message
reply: Box<ChannelPointsChannelV1Reply>
Message reply from topic subscription
Response from the channel_points::ChannelPointsChannelV1 topic.
ChannelSubscribeEventsV1
Fields
topic: ChannelSubscribeEventsV1
Topic message
reply: Box<ChannelSubscribeEventsV1Reply>
Message reply from topic subscription
Response from the channel_subscriptions::ChannelSubscribeEventsV1 topic.
CommunityPointsChannelV1
Fields
topic: CommunityPointsChannelV1
Topic message
reply: Box<ChannelPointsChannelV1Reply>
Message reply from topic subscription
unsupported
only.Response from the community_points::CommunityPointsChannelV1 topic.
ChannelCheerEventsPublicV1
Fields
topic: ChannelCheerEventsPublicV1
Topic message
reply: Box<ChannelCheerEventsPublicV1Reply>
Message reply from topic subscription
unsupported
only.Response from the channel_cheer::ChannelCheerEventsPublicV1 topic.
ChannelSubGiftsV1
Fields
topic: ChannelSubGiftsV1
Topic message
reply: Box<ChannelSubGiftsV1Reply>
Message reply from topic subscription
unsupported
only.Response from the channel_sub_gifts::ChannelSubGiftsV1 topic.
VideoPlayback
Fields
topic: VideoPlayback
Topic message
reply: Box<VideoPlaybackReply>
Message reply from topic subscription
unsupported
only.Response from the video_playback::VideoPlayback topic.
VideoPlaybackById
Fields
topic: VideoPlaybackById
Topic message
reply: Box<VideoPlaybackReply>
Message reply from topic subscription
unsupported
only.Response from the video_playback::VideoPlaybackById topic.
HypeTrainEventsV1
Fields
topic: HypeTrainEventsV1
Topic message
reply: Box<HypeTrainEventsV1Reply>
Message reply from topic subscription
unsupported
only.Response from the hypetrain::HypeTrainEventsV1 topic.
HypeTrainEventsV1Rewards
Fields
topic: HypeTrainEventsV1Rewards
Topic message
reply: Box<HypeTrainEventsV1Reply>
Message reply from topic subscription
unsupported
only.Response from the hypetrain::HypeTrainEventsV1Rewards topic.
Following
unsupported
only.Response from the following::Following topic.
Raid
unsupported
only.Response from the raid::Raid topic.
UserModerationNotifications
Fields
topic: UserModerationNotifications
Topic message
reply: Box<UserModerationNotificationsReply>
Message reply from topic subscription
A user’s message held by AutoMod has been approved or denied.