Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data PremiumStoryFeature Source #
Describes a story feature available to Premium users
PremiumStoryFeaturePriorityOrder | Stories of the current user are displayed before stories of non-Premium contacts, supergroups, and channels |
PremiumStoryFeatureStealthMode | The ability to hide the fact that the user viewed other's stories |
PremiumStoryFeaturePermanentViewsHistory | The ability to check who opened the current user's stories after they expire |
PremiumStoryFeatureCustomExpirationDuration | The ability to set custom expiration duration for stories |
PremiumStoryFeatureSaveStories | The ability to save other's unprotected stories |
PremiumStoryFeatureLinksAndFormatting | The ability to use links and formatting in story caption, and use inputStoryAreaTypeLink areas |
PremiumStoryFeatureVideoQuality | The ability to choose better quality for viewed stories |
Instances
FromJSON PremiumStoryFeature Source # | |
Defined in TD.Data.PremiumStoryFeature parseJSON :: Value -> Parser PremiumStoryFeature # parseJSONList :: Value -> Parser [PremiumStoryFeature] # | |
ToJSON PremiumStoryFeature Source # | |
Defined in TD.Data.PremiumStoryFeature toJSON :: PremiumStoryFeature -> Value # toEncoding :: PremiumStoryFeature -> Encoding # toJSONList :: [PremiumStoryFeature] -> Value # toEncodingList :: [PremiumStoryFeature] -> Encoding # | |
Show PremiumStoryFeature Source # | |
Defined in TD.Data.PremiumStoryFeature showsPrec :: Int -> PremiumStoryFeature -> ShowS # show :: PremiumStoryFeature -> String # showList :: [PremiumStoryFeature] -> ShowS # | |
Eq PremiumStoryFeature Source # | |
Defined in TD.Data.PremiumStoryFeature (==) :: PremiumStoryFeature -> PremiumStoryFeature -> Bool # (/=) :: PremiumStoryFeature -> PremiumStoryFeature -> Bool # | |
ShortShow PremiumStoryFeature Source # | |
Defined in TD.Data.PremiumStoryFeature |