| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.InputChatTheme
Synopsis
- data InputChatTheme
- = InputChatThemeEmoji { }
- | InputChatThemeGift { }
Documentation
data InputChatTheme Source #
Describes a chat theme to set
Constructors
| InputChatThemeEmoji | A theme based on an emoji |
| InputChatThemeGift | A theme based on an upgraded gift |
Instances
| FromJSON InputChatTheme Source # | |
Defined in TD.Data.InputChatTheme Methods parseJSON :: Value -> Parser InputChatTheme # parseJSONList :: Value -> Parser [InputChatTheme] # | |
| ToJSON InputChatTheme Source # | |
Defined in TD.Data.InputChatTheme Methods toJSON :: InputChatTheme -> Value # toEncoding :: InputChatTheme -> Encoding # toJSONList :: [InputChatTheme] -> Value # toEncodingList :: [InputChatTheme] -> Encoding # | |
| Show InputChatTheme Source # | |
Defined in TD.Data.InputChatTheme Methods showsPrec :: Int -> InputChatTheme -> ShowS # show :: InputChatTheme -> String # showList :: [InputChatTheme] -> ShowS # | |
| Eq InputChatTheme Source # | |
Defined in TD.Data.InputChatTheme Methods (==) :: InputChatTheme -> InputChatTheme -> Bool # (/=) :: InputChatTheme -> InputChatTheme -> Bool # | |
| ShortShow InputChatTheme Source # | |
Defined in TD.Data.InputChatTheme Methods shortShow :: InputChatTheme -> String Source # | |