Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data AffiliateType
Documentation
data AffiliateType Source #
Describes type of affiliate for an affiliate program
AffiliateTypeCurrentUser | The affiliate is the current user |
AffiliateTypeBot | The affiliate is a bot owned by the current user |
AffiliateTypeChannel | The affiliate is a channel chat where the current user has can_post_messages administrator right |
Instances
FromJSON AffiliateType Source # | |
Defined in TD.Data.AffiliateType parseJSON :: Value -> Parser AffiliateType # parseJSONList :: Value -> Parser [AffiliateType] # | |
ToJSON AffiliateType Source # | |
Defined in TD.Data.AffiliateType toJSON :: AffiliateType -> Value # toEncoding :: AffiliateType -> Encoding # toJSONList :: [AffiliateType] -> Value # toEncodingList :: [AffiliateType] -> Encoding # | |
Show AffiliateType Source # | |
Defined in TD.Data.AffiliateType showsPrec :: Int -> AffiliateType -> ShowS # show :: AffiliateType -> String # showList :: [AffiliateType] -> ShowS # | |
Eq AffiliateType Source # | |
Defined in TD.Data.AffiliateType (==) :: AffiliateType -> AffiliateType -> Bool # (/=) :: AffiliateType -> AffiliateType -> Bool # | |
ShortShow AffiliateType Source # | |
Defined in TD.Data.AffiliateType shortShow :: AffiliateType -> String Source # |