Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data InputBackground
- = InputBackgroundLocal { }
- | InputBackgroundRemote { }
- | InputBackgroundPrevious {
- message_id :: Maybe Int
Documentation
data InputBackground Source #
Contains information about background to set
InputBackgroundLocal | A background from a local file |
| |
InputBackgroundRemote | A background from the server |
| |
InputBackgroundPrevious | A background previously set in the chat; for chat backgrounds only |
|
Instances
FromJSON InputBackground Source # | |
Defined in TD.Data.InputBackground parseJSON :: Value -> Parser InputBackground # parseJSONList :: Value -> Parser [InputBackground] # | |
ToJSON InputBackground Source # | |
Defined in TD.Data.InputBackground toJSON :: InputBackground -> Value # toEncoding :: InputBackground -> Encoding # toJSONList :: [InputBackground] -> Value # toEncodingList :: [InputBackground] -> Encoding # | |
Show InputBackground Source # | |
Defined in TD.Data.InputBackground showsPrec :: Int -> InputBackground -> ShowS # show :: InputBackground -> String # showList :: [InputBackground] -> ShowS # | |
Eq InputBackground Source # | |
Defined in TD.Data.InputBackground (==) :: InputBackground -> InputBackground -> Bool # (/=) :: InputBackground -> InputBackground -> Bool # | |
ShortShow InputBackground Source # | |
Defined in TD.Data.InputBackground shortShow :: InputBackground -> String Source # |