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