Copyright | (c) Christina Wuest 2021 |
---|---|
License | BSD-style |
Maintainer | tina@wuest.me |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Messages sent over Twitch's PubSub interface.
Documentation
data RequestType Source #
Instances
Show RequestType Source # | |
Defined in Web.TwitchAPI.PubSub showsPrec :: Int -> RequestType -> ShowS # show :: RequestType -> String # showList :: [RequestType] -> ShowS # | |
Eq RequestType Source # | |
Defined in Web.TwitchAPI.PubSub (==) :: RequestType -> RequestType -> Bool # (/=) :: RequestType -> RequestType -> Bool # |
Request | |
|
data RequestError Source #
Instances
Read RequestError Source # | |
Defined in Web.TwitchAPI.PubSub readsPrec :: Int -> ReadS RequestError # readList :: ReadS [RequestError] # | |
Show RequestError Source # | |
Defined in Web.TwitchAPI.PubSub showsPrec :: Int -> RequestError -> ShowS # show :: RequestError -> String # showList :: [RequestError] -> ShowS # | |
Eq RequestError Source # | |
Defined in Web.TwitchAPI.PubSub (==) :: RequestError -> RequestError -> Bool # (/=) :: RequestError -> RequestError -> Bool # |
data RewardImages Source #
Instances
Instances
FromJSON UserInfo Source # | |
ToJSON UserInfo Source # | |
Defined in Web.TwitchAPI.PubSub | |
Generic UserInfo Source # | |
Show UserInfo Source # | |
Eq UserInfo Source # | |
type Rep UserInfo Source # | |
Defined in Web.TwitchAPI.PubSub type Rep UserInfo = D1 ('MetaData "UserInfo" "Web.TwitchAPI.PubSub" "twitchapi-0.0.4-L6r9NH7gAppFdNo9fEDaOb" 'False) (C1 ('MetaCons "UserInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String))))) |
data RewardStatus Source #
Instances
ToJSON RewardStatus Source # | |
Defined in Web.TwitchAPI.PubSub toJSON :: RewardStatus -> Value # toEncoding :: RewardStatus -> Encoding # toJSONList :: [RewardStatus] -> Value # toEncodingList :: [RewardStatus] -> Encoding # | |
Generic RewardStatus Source # | |
Defined in Web.TwitchAPI.PubSub type Rep RewardStatus :: Type -> Type # from :: RewardStatus -> Rep RewardStatus x # to :: Rep RewardStatus x -> RewardStatus # | |
Read RewardStatus Source # | |
Defined in Web.TwitchAPI.PubSub readsPrec :: Int -> ReadS RewardStatus # readList :: ReadS [RewardStatus] # | |
Show RewardStatus Source # | |
Defined in Web.TwitchAPI.PubSub showsPrec :: Int -> RewardStatus -> ShowS # show :: RewardStatus -> String # showList :: [RewardStatus] -> ShowS # | |
Eq RewardStatus Source # | |
Defined in Web.TwitchAPI.PubSub (==) :: RewardStatus -> RewardStatus -> Bool # (/=) :: RewardStatus -> RewardStatus -> Bool # | |
type Rep RewardStatus Source # | |
data BadgeUnlock Source #
Instances
data SubscriptionTier Source #
Instances
EmoteSpec | |
|
Instances
FromJSON EmoteSpec Source # | |
ToJSON EmoteSpec Source # | |
Defined in Web.TwitchAPI.PubSub | |
Generic EmoteSpec Source # | |
Show EmoteSpec Source # | |
Eq EmoteSpec Source # | |
type Rep EmoteSpec Source # | |
Defined in Web.TwitchAPI.PubSub type Rep EmoteSpec = D1 ('MetaData "EmoteSpec" "Web.TwitchAPI.PubSub" "twitchapi-0.0.4-L6r9NH7gAppFdNo9fEDaOb" 'False) (C1 ('MetaCons "EmoteSpec" 'PrefixI 'True) (S1 ('MetaSel ('Just "emoteStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "emoteLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "emoteId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) |
data SubscriptionMessage Source #
Instances
Instances
parseBitsV2 :: Object -> MessageParser Source #