Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data StoryContent
Documentation
data StoryContent Source #
Contains the content of a story
StoryContentPhoto | A photo story |
StoryContentVideo | A video story |
| |
StoryContentUnsupported | A story content that is not supported in the current TDLib version |
Instances
FromJSON StoryContent Source # | |
Defined in TD.Data.StoryContent parseJSON :: Value -> Parser StoryContent # parseJSONList :: Value -> Parser [StoryContent] # | |
Show StoryContent Source # | |
Defined in TD.Data.StoryContent showsPrec :: Int -> StoryContent -> ShowS # show :: StoryContent -> String # showList :: [StoryContent] -> ShowS # | |
Eq StoryContent Source # | |
Defined in TD.Data.StoryContent (==) :: StoryContent -> StoryContent -> Bool # (/=) :: StoryContent -> StoryContent -> Bool # | |
ShortShow StoryContent Source # | |
Defined in TD.Data.StoryContent shortShow :: StoryContent -> String Source # |