-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Client access to Twitch.tv API endpoints -- -- Twitch.tv API client supporting Helix and PubSub @package twitchapi @version 0.0.4 module Web.TwitchAPI.Helix.Request class HelixRequest a toRequest :: HelixRequest a => a -> Request scope :: HelixRequest a => a -> Maybe String module Web.TwitchAPI.Helix.ChannelPoints class RewardDetails a broadcasterId :: RewardDetails a => a -> Integer prompt :: RewardDetails a => a -> Maybe String backgroundColor :: RewardDetails a => a -> String maxPerStream :: RewardDetails a => a -> Maybe Integer maxPerUser :: RewardDetails a => a -> Maybe Integer autoFulfilled :: RewardDetails a => a -> Bool data Create Create :: Integer -> String -> Maybe String -> Integer -> Maybe Bool -> Maybe String -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Bool -> Create [forBroadcasterId] :: Create -> Integer [title] :: Create -> String [setPrompt] :: Create -> Maybe String [cost] :: Create -> Integer [enabled] :: Create -> Maybe Bool [setBackgroundColor] :: Create -> Maybe String [setMaxPerStream] :: Create -> Maybe Integer [setMaxPerUser] :: Create -> Maybe Integer [cooldownSeconds] :: Create -> Maybe Integer [setAutoFulfilled] :: Create -> Maybe Bool data RewardImages RewardImages :: Maybe String -> Maybe String -> Maybe String -> RewardImages [tiny] :: RewardImages -> Maybe String [large] :: RewardImages -> Maybe String [huge] :: RewardImages -> Maybe String data CreateResponse CreateResponse :: Integer -> String -> String -> String -> String -> Maybe String -> Integer -> Maybe RewardImages -> RewardImages -> String -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Bool -> Bool -> Bool -> Integer -> Maybe UTCTime -> CreateResponse [broadcaster] :: CreateResponse -> Integer [broadcasterLogin] :: CreateResponse -> String [broadcasterName] :: CreateResponse -> String [rewardId] :: CreateResponse -> String [rewardTitle] :: CreateResponse -> String [rewardPrompt] :: CreateResponse -> Maybe String [rewardCost] :: CreateResponse -> Integer [rewardImage] :: CreateResponse -> Maybe RewardImages [defaultImage] :: CreateResponse -> RewardImages [rewardBackgroundColor] :: CreateResponse -> String [rewardMaxPerStream] :: CreateResponse -> Maybe Integer [rewardMaxPerUser] :: CreateResponse -> Maybe Integer [cooldown] :: CreateResponse -> Maybe Integer [paused] :: CreateResponse -> Bool [inStock] :: CreateResponse -> Bool [rewardAutoFulfilled] :: CreateResponse -> Bool [redemptionCount] :: CreateResponse -> Integer [cooldownExpires] :: CreateResponse -> Maybe UTCTime instance GHC.Classes.Eq Web.TwitchAPI.Helix.ChannelPoints.Create instance GHC.Show.Show Web.TwitchAPI.Helix.ChannelPoints.Create instance GHC.Classes.Eq Web.TwitchAPI.Helix.ChannelPoints.RewardImages instance GHC.Show.Show Web.TwitchAPI.Helix.ChannelPoints.RewardImages instance GHC.Classes.Eq Web.TwitchAPI.Helix.ChannelPoints.CreateResponse instance GHC.Show.Show Web.TwitchAPI.Helix.ChannelPoints.CreateResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.ChannelPoints.CreateResponse instance Web.TwitchAPI.Helix.ChannelPoints.RewardDetails Web.TwitchAPI.Helix.ChannelPoints.CreateResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.ChannelPoints.RewardImages instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.Helix.ChannelPoints.Create instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.ChannelPoints.Create instance Web.TwitchAPI.Helix.ChannelPoints.RewardDetails Web.TwitchAPI.Helix.ChannelPoints.Create module Web.TwitchAPI.Helix.Bits data Leaderboard Leaderboard :: Maybe Integer -> Maybe Period -> Maybe UTCTime -> Maybe Integer -> Leaderboard [count] :: Leaderboard -> Maybe Integer [period] :: Leaderboard -> Maybe Period [start] :: Leaderboard -> Maybe UTCTime [searchId] :: Leaderboard -> Maybe Integer data Period Day :: Period Week :: Period Month :: Period Year :: Period All :: Period data LeaderboardEntry LeaderboardEntry :: Integer -> String -> String -> Integer -> Integer -> LeaderboardEntry [userId] :: LeaderboardEntry -> Integer [userLogin] :: LeaderboardEntry -> String [userName] :: LeaderboardEntry -> String [rank] :: LeaderboardEntry -> Integer [score] :: LeaderboardEntry -> Integer data LeaderboardResponse LeaderboardResponse :: Maybe UTCTime -> Maybe UTCTime -> Integer -> [LeaderboardEntry] -> LeaderboardResponse [endedAt] :: LeaderboardResponse -> Maybe UTCTime [startedAt] :: LeaderboardResponse -> Maybe UTCTime [total] :: LeaderboardResponse -> Integer [entries] :: LeaderboardResponse -> [LeaderboardEntry] newtype Cheermotes Cheermotes :: Integer -> Cheermotes [broadcasterId] :: Cheermotes -> Integer data CheermoteClass GlobalFirstParty :: CheermoteClass GlobalThirdParty :: CheermoteClass ChannelCustom :: CheermoteClass DisplayOnly :: CheermoteClass Sponsored :: CheermoteClass Unknown :: CheermoteClass data CheermoteData CheermoteData :: Maybe String -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> CheermoteData [tinyURI] :: CheermoteData -> Maybe String [smallURI] :: CheermoteData -> Maybe String [mediumURI] :: CheermoteData -> Maybe String [largeURI] :: CheermoteData -> Maybe String [hugeURI] :: CheermoteData -> Maybe String data CheermoteImages CheermoteImages :: CheermoteData -> CheermoteData -> CheermoteData -> CheermoteData -> CheermoteImages [darkAnimated] :: CheermoteImages -> CheermoteData [darkStatic] :: CheermoteImages -> CheermoteData [lightAnimated] :: CheermoteImages -> CheermoteData [lightStatic] :: CheermoteImages -> CheermoteData data CheermoteTier CheermoteTier :: Integer -> Integer -> String -> CheermoteImages -> Bool -> Bool -> CheermoteTier [minBits] :: CheermoteTier -> Integer [cheermoteId] :: CheermoteTier -> Integer [color] :: CheermoteTier -> String [images] :: CheermoteTier -> CheermoteImages [enabled] :: CheermoteTier -> Bool [visible] :: CheermoteTier -> Bool data CheermotesResponse CheermotesResponse :: String -> [CheermoteTier] -> String -> Integer -> Maybe UTCTime -> Bool -> CheermotesResponse [prefix] :: CheermotesResponse -> String [tiers] :: CheermotesResponse -> [CheermoteTier] [cheermoteType] :: CheermotesResponse -> String [order] :: CheermotesResponse -> Integer [lastUpdated] :: CheermotesResponse -> Maybe UTCTime [charitable] :: CheermotesResponse -> Bool instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.Period instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.Leaderboard instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.Leaderboard instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.LeaderboardEntry instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.LeaderboardEntry instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.LeaderboardResponse instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.LeaderboardResponse instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.Cheermotes instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.Cheermotes instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.CheermoteClass instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.CheermoteClass instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.CheermoteData instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.CheermoteData instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.CheermoteImages instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.CheermoteImages instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.CheermoteTier instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.CheermoteTier instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.CheermotesResponse instance GHC.Classes.Eq Web.TwitchAPI.Helix.Bits.CheermotesResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Bits.CheermotesResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Bits.CheermoteTier instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Bits.CheermoteImages instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Bits.CheermoteData instance GHC.Read.Read Web.TwitchAPI.Helix.Bits.CheermoteClass instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Bits.Cheermotes instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Bits.LeaderboardResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Bits.LeaderboardEntry instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Bits.Leaderboard instance GHC.Show.Show Web.TwitchAPI.Helix.Bits.Period module Web.TwitchAPI.Helix.Users class DisplayName a displayName :: DisplayName a => a -> String class ExtensionId a extensionId :: ExtensionId a => a -> String class IsActive a active :: IsActive a => a -> Bool class Named a name :: Named a => a -> String class UserId a userId :: UserId a => a -> Integer class Versioned a version :: Versioned a => a -> String data User User :: Maybe String -> Maybe String -> User [lookupId] :: User -> Maybe String [username] :: User -> Maybe String data BroadcasterType Partner :: BroadcasterType Affiliate :: BroadcasterType None :: BroadcasterType data UserType Staff :: UserType Admin :: UserType GlobalMod :: UserType NormalUser :: UserType data UserEntry UserEntry :: BroadcasterType -> String -> String -> Integer -> String -> String -> String -> UserType -> Maybe String -> Maybe UTCTime -> UserEntry [broadcasterType] :: UserEntry -> BroadcasterType [description] :: UserEntry -> String [userDisplayName] :: UserEntry -> String [userEntryId] :: UserEntry -> Integer [login] :: UserEntry -> String [offlineImageURL] :: UserEntry -> String [profileImageURL] :: UserEntry -> String [userType] :: UserEntry -> UserType [email] :: UserEntry -> Maybe String [createdAt] :: UserEntry -> Maybe UTCTime data Users Users :: [Integer] -> [String] -> Users [lookupIds] :: Users -> [Integer] [usernames] :: Users -> [String] newtype UsersResponse UsersResponse :: [UserEntry] -> UsersResponse [users] :: UsersResponse -> [UserEntry] data Follows Follows :: Maybe String -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Follows [after] :: Follows -> Maybe String [max] :: Follows -> Maybe Integer [from] :: Follows -> Maybe Integer [to] :: Follows -> Maybe Integer data FollowEntry FollowEntry :: Integer -> String -> String -> Integer -> String -> Maybe UTCTime -> FollowEntry [fromId] :: FollowEntry -> Integer [fromLogin] :: FollowEntry -> String [fromName] :: FollowEntry -> String [toId] :: FollowEntry -> Integer [toName] :: FollowEntry -> String [followedAt] :: FollowEntry -> Maybe UTCTime data FollowsResponse FollowsResponse :: Integer -> [FollowEntry] -> String -> FollowsResponse [total] :: FollowsResponse -> Integer [follows] :: FollowsResponse -> [FollowEntry] [paginationCursor] :: FollowsResponse -> String newtype BlockList BlockList :: Integer -> BlockList [broadcasterId] :: BlockList -> Integer data BlockListEntry BlockListEntry :: Integer -> String -> String -> BlockListEntry [blockedUserId] :: BlockListEntry -> Integer [userLogin] :: BlockListEntry -> String [blockedDisplayName] :: BlockListEntry -> String newtype BlockListResponse BlockListResponse :: [BlockListEntry] -> BlockListResponse [blocks] :: BlockListResponse -> [BlockListEntry] data Extensions Extensions :: Extensions data ExtensionType Component :: ExtensionType Mobile :: ExtensionType Panel :: ExtensionType Overlay :: ExtensionType data ExtensionsEntry ExtensionsEntry :: Bool -> String -> String -> [ExtensionType] -> String -> ExtensionsEntry [canActivate] :: ExtensionsEntry -> Bool [extensionEntryId] :: ExtensionsEntry -> String [extensionName] :: ExtensionsEntry -> String [extensionTypes] :: ExtensionsEntry -> [ExtensionType] [extensionVersion] :: ExtensionsEntry -> String newtype ExtensionsResponse ExtensionsResponse :: [ExtensionsEntry] -> ExtensionsResponse [extensions] :: ExtensionsResponse -> [ExtensionsEntry] data ActiveExtensions ActiveExtensions :: ActiveExtensions ActiveExtensionsFor :: Integer -> ActiveExtensions data ActiveComponentExtensionEntry' ActiveComponentExtensionEntry' :: Bool -> String -> String -> String -> Integer -> Integer -> ActiveComponentExtensionEntry' [activeComponentActive'] :: ActiveComponentExtensionEntry' -> Bool [activeComponentExtensionId'] :: ActiveComponentExtensionEntry' -> String [activeComponentVersion'] :: ActiveComponentExtensionEntry' -> String [activeComponentName'] :: ActiveComponentExtensionEntry' -> String [activeComponentX] :: ActiveComponentExtensionEntry' -> Integer [activeComponentY] :: ActiveComponentExtensionEntry' -> Integer InactiveComponentExtension :: ActiveComponentExtensionEntry' data ActiveComponentExtensionEntry ActiveComponentExtensionEntry :: Bool -> String -> String -> String -> Integer -> Integer -> ActiveComponentExtensionEntry [activeComponentExtensionActive] :: ActiveComponentExtensionEntry -> Bool [activeComponentExtensionId] :: ActiveComponentExtensionEntry -> String [activeComponentExtensionVersion] :: ActiveComponentExtensionEntry -> String [activeComponentExtensionName] :: ActiveComponentExtensionEntry -> String [x] :: ActiveComponentExtensionEntry -> Integer [y] :: ActiveComponentExtensionEntry -> Integer filterActiveComponentExtensions :: [ActiveComponentExtensionEntry'] -> [ActiveComponentExtensionEntry] filterActiveComponentExtensions' :: [ActiveComponentExtensionEntry] -> ActiveComponentExtensionEntry' -> [ActiveComponentExtensionEntry] data ActiveExtensionEntry' ActiveExtensionEntry' :: Bool -> String -> String -> String -> ActiveExtensionEntry' [activeExtensionActive'] :: ActiveExtensionEntry' -> Bool [activeExtensionExtensionId'] :: ActiveExtensionEntry' -> String [activeExtensionVersion'] :: ActiveExtensionEntry' -> String [activeExtensionName'] :: ActiveExtensionEntry' -> String InactiveExtension :: ActiveExtensionEntry' data ActiveExtensionEntry ActiveExtensionEntry :: Bool -> String -> String -> String -> ActiveExtensionEntry [activeExtensionActive] :: ActiveExtensionEntry -> Bool [activeExtensionId] :: ActiveExtensionEntry -> String [activeExtensionVersion] :: ActiveExtensionEntry -> String [activeExtensionName] :: ActiveExtensionEntry -> String filterActiveExtensions :: [ActiveExtensionEntry'] -> [ActiveExtensionEntry] filterActiveExtensions' :: [ActiveExtensionEntry] -> ActiveExtensionEntry' -> [ActiveExtensionEntry] data ActiveExtensionsResponse ActiveExtensionsResponse :: [ActiveComponentExtensionEntry] -> [ActiveExtensionEntry] -> [ActiveExtensionEntry] -> ActiveExtensionsResponse [components] :: ActiveExtensionsResponse -> [ActiveComponentExtensionEntry] [overlays] :: ActiveExtensionsResponse -> [ActiveExtensionEntry] [panels] :: ActiveExtensionsResponse -> [ActiveExtensionEntry] instance GHC.Show.Show Web.TwitchAPI.Helix.Users.User instance GHC.Show.Show Web.TwitchAPI.Helix.Users.BroadcasterType instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.BroadcasterType instance GHC.Show.Show Web.TwitchAPI.Helix.Users.UserType instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.UserType instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.UserEntry instance GHC.Show.Show Web.TwitchAPI.Helix.Users.UserEntry instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.Users instance GHC.Show.Show Web.TwitchAPI.Helix.Users.Users instance GHC.Show.Show Web.TwitchAPI.Helix.Users.UsersResponse instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.UsersResponse instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.Follows instance GHC.Show.Show Web.TwitchAPI.Helix.Users.Follows instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.FollowEntry instance GHC.Show.Show Web.TwitchAPI.Helix.Users.FollowEntry instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.FollowsResponse instance GHC.Show.Show Web.TwitchAPI.Helix.Users.FollowsResponse instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.BlockList instance GHC.Show.Show Web.TwitchAPI.Helix.Users.BlockList instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.BlockListEntry instance GHC.Show.Show Web.TwitchAPI.Helix.Users.BlockListEntry instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.BlockListResponse instance GHC.Show.Show Web.TwitchAPI.Helix.Users.BlockListResponse instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ExtensionType instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ExtensionType instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ExtensionsEntry instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ExtensionsEntry instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ExtensionsResponse instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ExtensionsResponse instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ActiveExtensions instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ActiveExtensions instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry' instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry' instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ActiveExtensionEntry' instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ActiveExtensionEntry' instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ActiveExtensionEntry instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ActiveExtensionEntry instance GHC.Classes.Eq Web.TwitchAPI.Helix.Users.ActiveExtensionsResponse instance GHC.Show.Show Web.TwitchAPI.Helix.Users.ActiveExtensionsResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.ActiveExtensionsResponse instance Web.TwitchAPI.Helix.Users.IsActive Web.TwitchAPI.Helix.Users.ActiveExtensionEntry instance Web.TwitchAPI.Helix.Users.ExtensionId Web.TwitchAPI.Helix.Users.ActiveExtensionEntry instance Web.TwitchAPI.Helix.Users.Versioned Web.TwitchAPI.Helix.Users.ActiveExtensionEntry instance Web.TwitchAPI.Helix.Users.Named Web.TwitchAPI.Helix.Users.ActiveExtensionEntry instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.ActiveExtensionEntry' instance Web.TwitchAPI.Helix.Users.ExtensionId Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry instance Web.TwitchAPI.Helix.Users.IsActive Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry instance Web.TwitchAPI.Helix.Users.Named Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry instance Web.TwitchAPI.Helix.Users.Versioned Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.ActiveComponentExtensionEntry' instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Users.ActiveExtensions instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.ExtensionsResponse instance Web.TwitchAPI.Helix.Users.ExtensionId Web.TwitchAPI.Helix.Users.ExtensionsEntry instance Web.TwitchAPI.Helix.Users.Versioned Web.TwitchAPI.Helix.Users.ExtensionsEntry instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.ExtensionsEntry instance GHC.Read.Read Web.TwitchAPI.Helix.Users.ExtensionType instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Users.Extensions instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.BlockListResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.BlockListEntry instance Web.TwitchAPI.Helix.Users.DisplayName Web.TwitchAPI.Helix.Users.BlockListEntry instance Web.TwitchAPI.Helix.Users.UserId Web.TwitchAPI.Helix.Users.BlockListEntry instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Users.BlockList instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.FollowsResponse instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.FollowEntry instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Users.Follows instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.UsersResponse instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Users.Users instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.Helix.Users.UserEntry instance Web.TwitchAPI.Helix.Users.DisplayName Web.TwitchAPI.Helix.Users.UserEntry instance Web.TwitchAPI.Helix.Users.UserId Web.TwitchAPI.Helix.Users.UserEntry instance GHC.Read.Read Web.TwitchAPI.Helix.Users.UserType instance GHC.Read.Read Web.TwitchAPI.Helix.Users.BroadcasterType instance Web.TwitchAPI.Helix.Request.HelixRequest Web.TwitchAPI.Helix.Users.User -- | Messages sent over Twitch's PubSub interface. module Web.TwitchAPI.PubSub data Topic BitsV1 :: Integer -> Topic [channel] :: Topic -> Integer BitsV2 :: Integer -> Topic [channel] :: Topic -> Integer BitsBadge :: Integer -> Topic [channel] :: Topic -> Integer ChannelPoints :: Integer -> Topic [channel] :: Topic -> Integer ChannelSubscriptions :: Integer -> Topic [channel] :: Topic -> Integer ChatModeratorActions :: Integer -> Integer -> Topic [channel] :: Topic -> Integer [user] :: Topic -> Integer Whispers :: Integer -> Topic [user] :: Topic -> Integer toRequest :: Topic -> String scope :: Topic -> String data RequestType Listen :: RequestType Unlisten :: RequestType data Request Request :: RequestType -> Maybe String -> [Topic] -> String -> Request [requestType] :: Request -> RequestType [requestNonce] :: Request -> Maybe String [topics] :: Request -> [Topic] [authToken] :: Request -> String data RequestError BadMessage :: RequestError BadAuth :: RequestError ServerFail :: RequestError BadTopic :: RequestError None :: RequestError data Response Response :: Maybe String -> RequestError -> Response [responseNonce] :: Response -> Maybe String [errorReported] :: Response -> RequestError data RewardImages RewardImages :: Maybe String -> Maybe String -> Maybe String -> RewardImages [tiny] :: RewardImages -> Maybe String [large] :: RewardImages -> Maybe String [huge] :: RewardImages -> Maybe String data UserInfo UserInfo :: Integer -> String -> Maybe String -> UserInfo [userId] :: UserInfo -> Integer [userName] :: UserInfo -> String [displayName] :: UserInfo -> Maybe String data RewardStatus Fulfilled :: RewardStatus Unfulfilled :: RewardStatus data BadgeUnlock BadgeUnlock :: Integer -> Integer -> BadgeUnlock [newVersion] :: BadgeUnlock -> Integer [previousVersion] :: BadgeUnlock -> Integer data SubscriptionTier Prime :: SubscriptionTier Tier1 :: SubscriptionTier Tier2 :: SubscriptionTier Tier3 :: SubscriptionTier data EmoteSpec EmoteSpec :: Integer -> Integer -> Integer -> EmoteSpec [emoteStart] :: EmoteSpec -> Integer [emoteLength] :: EmoteSpec -> Integer [emoteId] :: EmoteSpec -> Integer data SubscriptionMessage SubscriptionMessage :: String -> [EmoteSpec] -> SubscriptionMessage [subscriptionMessage] :: SubscriptionMessage -> String [subscriptionEmotes] :: SubscriptionMessage -> [EmoteSpec] data Message BitsV2Message :: Maybe BadgeUnlock -> Integer -> Integer -> Maybe String -> String -> String -> String -> Maybe UTCTime -> Integer -> Maybe Integer -> Maybe String -> String -> Message [badge] :: Message -> Maybe BadgeUnlock [bits] :: Message -> Integer [channelId] :: Message -> Integer [chatMessage] :: Message -> Maybe String [context] :: Message -> String [messageId] :: Message -> String [messageType] :: Message -> String [time] :: Message -> Maybe UTCTime [userTotal] :: Message -> Integer [messageUser] :: Message -> Maybe Integer [messageUserName] :: Message -> Maybe String [version] :: Message -> String BitsV2AnonymousMessage :: Integer -> Integer -> Maybe String -> String -> String -> String -> Maybe UTCTime -> String -> Message [bits] :: Message -> Integer [channelId] :: Message -> Integer [chatMessage] :: Message -> Maybe String [context] :: Message -> String [messageId] :: Message -> String [messageType] :: Message -> String [time] :: Message -> Maybe UTCTime [version] :: Message -> String BitsV1Message :: Maybe BadgeUnlock -> Integer -> Integer -> String -> Maybe String -> String -> String -> String -> Maybe UTCTime -> Integer -> Maybe Integer -> Maybe String -> String -> Message [badge] :: Message -> Maybe BadgeUnlock [bits] :: Message -> Integer [channelId] :: Message -> Integer [channelName] :: Message -> String [chatMessage] :: Message -> Maybe String [context] :: Message -> String [messageId] :: Message -> String [messageType] :: Message -> String [time] :: Message -> Maybe UTCTime [userTotal] :: Message -> Integer [messageUser] :: Message -> Maybe Integer [messageUserName] :: Message -> Maybe String [version] :: Message -> String BitsBadgeMessage :: Maybe Integer -> Maybe String -> Integer -> String -> Integer -> Maybe String -> Maybe UTCTime -> Message [messageUser] :: Message -> Maybe Integer [messageUserName] :: Message -> Maybe String [channelId] :: Message -> Integer [channelName] :: Message -> String [bitsTier] :: Message -> Integer [chatMessage] :: Message -> Maybe String [time] :: Message -> Maybe UTCTime ChannelPointsMessage :: Maybe UTCTime -> Maybe UTCTime -> UserInfo -> String -> Integer -> String -> Maybe String -> Integer -> Maybe String -> Bool -> Maybe RewardImages -> RewardImages -> String -> Bool -> Bool -> Bool -> Maybe Integer -> Bool -> RewardStatus -> Message [serverTime] :: Message -> Maybe UTCTime [redeemedTime] :: Message -> Maybe UTCTime [userInfo] :: Message -> UserInfo [rewardId] :: Message -> String [channelId] :: Message -> Integer [title] :: Message -> String [prompt] :: Message -> Maybe String [cost] :: Message -> Integer [userInput] :: Message -> Maybe String [subOnly] :: Message -> Bool [image] :: Message -> Maybe RewardImages [defaultImage] :: Message -> RewardImages [backgroundColor] :: Message -> String [enabled] :: Message -> Bool [paused] :: Message -> Bool [inStock] :: Message -> Bool [maxPerStream] :: Message -> Maybe Integer [autoFulfilled] :: Message -> Bool [status] :: Message -> RewardStatus ChannelSubscriptionMessage :: UserInfo -> String -> Integer -> Maybe UTCTime -> SubscriptionTier -> String -> SubscriptionMessage -> Message [userInfo] :: Message -> UserInfo [channelName] :: Message -> String [channelId] :: Message -> Integer [time] :: Message -> Maybe UTCTime [subTier] :: Message -> SubscriptionTier [subPlanName] :: Message -> String [subMessage] :: Message -> SubscriptionMessage ChannelResubscriptionMessage :: UserInfo -> String -> Integer -> Maybe UTCTime -> SubscriptionTier -> String -> Integer -> Maybe Integer -> SubscriptionMessage -> Message [userInfo] :: Message -> UserInfo [channelName] :: Message -> String [channelId] :: Message -> Integer [time] :: Message -> Maybe UTCTime [subTier] :: Message -> SubscriptionTier [subPlanName] :: Message -> String [totalMonths] :: Message -> Integer [streakMonths] :: Message -> Maybe Integer [subMessage] :: Message -> SubscriptionMessage ChannelExtendSubscriptionMessage :: UserInfo -> String -> Integer -> Maybe UTCTime -> SubscriptionTier -> String -> Integer -> Maybe Integer -> Integer -> SubscriptionMessage -> Message [userInfo] :: Message -> UserInfo [channelName] :: Message -> String [channelId] :: Message -> Integer [time] :: Message -> Maybe UTCTime [subTier] :: Message -> SubscriptionTier [subPlanName] :: Message -> String [totalMonths] :: Message -> Integer [streakMonths] :: Message -> Maybe Integer [endMonth] :: Message -> Integer [subMessage] :: Message -> SubscriptionMessage ChannelSubscriptionGiftMessage :: UserInfo -> String -> Integer -> Maybe UTCTime -> SubscriptionTier -> String -> UserInfo -> Message [userInfo] :: Message -> UserInfo [channelName] :: Message -> String [channelId] :: Message -> Integer [time] :: Message -> Maybe UTCTime [subTier] :: Message -> SubscriptionTier [subPlanName] :: Message -> String [recipient] :: Message -> UserInfo ChannelMultiMonthSubscriptionGiftMessage :: UserInfo -> String -> Integer -> Maybe UTCTime -> SubscriptionTier -> String -> UserInfo -> Integer -> Message [userInfo] :: Message -> UserInfo [channelName] :: Message -> String [channelId] :: Message -> Integer [time] :: Message -> Maybe UTCTime [subTier] :: Message -> SubscriptionTier [subPlanName] :: Message -> String [recipient] :: Message -> UserInfo [months] :: Message -> Integer ChannelAnonymousSubscriptionGiftMessage :: String -> Integer -> Maybe UTCTime -> SubscriptionTier -> String -> UserInfo -> Message [channelName] :: Message -> String [channelId] :: Message -> Integer [time] :: Message -> Maybe UTCTime [subTier] :: Message -> SubscriptionTier [subPlanName] :: Message -> String [recipient] :: Message -> UserInfo ChannelAnonymousMultiMonthSubscriptionGiftMessage :: String -> Integer -> Maybe UTCTime -> SubscriptionTier -> String -> UserInfo -> Integer -> Message [channelName] :: Message -> String [channelId] :: Message -> Integer [time] :: Message -> Maybe UTCTime [subTier] :: Message -> SubscriptionTier [subPlanName] :: Message -> String [recipient] :: Message -> UserInfo [months] :: Message -> Integer WhisperMessage :: String -> String -> Maybe UTCTime -> String -> [EmoteSpec] -> UserInfo -> String -> UserInfo -> Message [messageId] :: Message -> String [threadId] :: Message -> String [time] :: Message -> Maybe UTCTime [messageBody] :: Message -> String [messageEmotes] :: Message -> [EmoteSpec] [userInfo] :: Message -> UserInfo [userColor] :: Message -> String [recipient] :: Message -> UserInfo SuccessMessage :: Maybe String -> Message [nonce] :: Message -> Maybe String ErrorMessage :: Maybe String -> String -> Message [nonce] :: Message -> Maybe String [errorString] :: Message -> String type MessageParser = Object -> Parser Message parseChannelSubscribeEvent :: MessageParser parseChannelResubscribeEvent :: MessageParser parseChannelExtendSubEvent :: MessageParser parseChannelSubGiftEvent :: MessageParser parseChannelAnonSubGiftEvent :: MessageParser parseChannelSubscribeMessage :: MessageParser parseBitsV2Message :: MessageParser parseBitsV2 :: Object -> MessageParser parseBitsV2Anonymous :: Object -> MessageParser parseBitsV1Message :: MessageParser parseBitsBadgeMessage :: MessageParser parseRewardMessage :: MessageParser parseWhisperMessage :: MessageParser parseServerResponse :: MessageParser instance GHC.Show.Show Web.TwitchAPI.PubSub.Topic instance GHC.Classes.Eq Web.TwitchAPI.PubSub.Topic instance GHC.Classes.Eq Web.TwitchAPI.PubSub.RequestType instance GHC.Show.Show Web.TwitchAPI.PubSub.Request instance GHC.Classes.Eq Web.TwitchAPI.PubSub.Request instance GHC.Show.Show Web.TwitchAPI.PubSub.RequestError instance GHC.Classes.Eq Web.TwitchAPI.PubSub.RequestError instance GHC.Classes.Eq Web.TwitchAPI.PubSub.Response instance GHC.Show.Show Web.TwitchAPI.PubSub.Response instance GHC.Generics.Generic Web.TwitchAPI.PubSub.RewardImages instance GHC.Classes.Eq Web.TwitchAPI.PubSub.RewardImages instance GHC.Show.Show Web.TwitchAPI.PubSub.RewardImages instance GHC.Generics.Generic Web.TwitchAPI.PubSub.UserInfo instance GHC.Show.Show Web.TwitchAPI.PubSub.UserInfo instance GHC.Classes.Eq Web.TwitchAPI.PubSub.UserInfo instance GHC.Generics.Generic Web.TwitchAPI.PubSub.RewardStatus instance GHC.Show.Show Web.TwitchAPI.PubSub.RewardStatus instance GHC.Classes.Eq Web.TwitchAPI.PubSub.RewardStatus instance GHC.Generics.Generic Web.TwitchAPI.PubSub.BadgeUnlock instance GHC.Show.Show Web.TwitchAPI.PubSub.BadgeUnlock instance GHC.Classes.Eq Web.TwitchAPI.PubSub.BadgeUnlock instance GHC.Generics.Generic Web.TwitchAPI.PubSub.SubscriptionTier instance GHC.Show.Show Web.TwitchAPI.PubSub.SubscriptionTier instance GHC.Classes.Eq Web.TwitchAPI.PubSub.SubscriptionTier instance GHC.Generics.Generic Web.TwitchAPI.PubSub.EmoteSpec instance GHC.Show.Show Web.TwitchAPI.PubSub.EmoteSpec instance GHC.Classes.Eq Web.TwitchAPI.PubSub.EmoteSpec instance GHC.Generics.Generic Web.TwitchAPI.PubSub.SubscriptionMessage instance GHC.Show.Show Web.TwitchAPI.PubSub.SubscriptionMessage instance GHC.Classes.Eq Web.TwitchAPI.PubSub.SubscriptionMessage instance GHC.Generics.Generic Web.TwitchAPI.PubSub.Message instance GHC.Show.Show Web.TwitchAPI.PubSub.Message instance GHC.Classes.Eq Web.TwitchAPI.PubSub.Message instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.Message instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.Message instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.SubscriptionMessage instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.SubscriptionMessage instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.EmoteSpec instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.EmoteSpec instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.SubscriptionTier instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.SubscriptionTier instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.BadgeUnlock instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.BadgeUnlock instance GHC.Read.Read Web.TwitchAPI.PubSub.RewardStatus instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.RewardStatus instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.UserInfo instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.UserInfo instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.RewardImages instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.RewardImages instance Data.Aeson.Types.FromJSON.FromJSON Web.TwitchAPI.PubSub.Response instance GHC.Read.Read Web.TwitchAPI.PubSub.RequestError instance Data.Aeson.Types.ToJSON.ToJSON Web.TwitchAPI.PubSub.Request instance GHC.Show.Show Web.TwitchAPI.PubSub.RequestType