Module twitch_api2::types
source · [−]Expand description
Twitch types
Structs
A Badge set ID
A reference to a borrowed BadgeSetId
A blocked term ID
A reference to a borrowed BlockedTermId
A game or category ID
A reference to a borrowed CategoryId
A channel chat badge ID
A reference to a borrowed ChatBadgeId
A Creator Goal ID
A reference to a borrowed CreatorGoalId
A users display name
A reference to a borrowed DisplayName
A chat Emote ID
A reference to a borrowed EmoteId
An Emote Set ID
A reference to a borrowed EmoteSetId
Builder for emote URLs.
An EventSub Subscription ID
A reference to a borrowed EventSubId
Information about global cooldown
A Hype Train ID
A reference to a borrowed HypeTrainId
Links to the same image of different sizes
A message ID
A nickname, not capitalized.
A reference to a borrowed Nickname
Poll choice
A poll choice ID
A reference to a borrowed PollChoiceId
A poll ID
A prediction ID
A reference to a borrowed PredictionId
Outcome for the Prediction
A prediction choice ID
A reference to a borrowed PredictionOutcomeId
Users who were the top predictors.
A reward redemption ID.
A reference to a borrowed RedemptionId
An emote index as defined by eventsub, similar to IRC emotes
twitch tag.
A reward ID.
A reference to a borrowed RewardId
A Stream ID
A reference to a borrowed StreamId
A Stream Segment ID.
A reference to a borrowed StreamSegmentId
A tag ID
A Team ID
RFC3339 timestamp
A reference to a borrowed Timestamp
A game or category as defined by Twitch
A user according to many endpoints
A user ID.
A video ID
A reference to a borrowed VideoId
Enums
Status of a message that is or was in AutoMod queue
Broadcaster types: “partner”, “affiliate”, or “”.
Length of the commercial in seconds
Error for the TryFrom
on CommercialLength
Type of creator goal
Formats for an emote.
Scales available for an emote.
Background themes available for an emote.
Reward redemption max
Status of a poll
Status of the Prediction
Subscription tiers
Errors that can occur when parsing a timestamp.
User types: “staff”, “admin”, “global_mod”, or “”.
Period during which the video was created
Type of video
Type of video
Type Definitions
A username, also specified as login. Should not be capitalized.
A reference to a borrowed UserName
, also specified as login. Should not be capitalized.