Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data TargetChat
Documentation
data TargetChat Source #
Describes the target chat to be opened
TargetChatCurrent | The currently opened chat and forum topic must be kept |
TargetChatChosen | The chat needs to be chosen by the user among chats of the specified types |
| |
TargetChatInternalLink | The chat needs to be open with the provided internal link |
|
Instances
FromJSON TargetChat Source # | |
Defined in TD.Data.TargetChat parseJSON :: Value -> Parser TargetChat # parseJSONList :: Value -> Parser [TargetChat] # | |
ToJSON TargetChat Source # | |
Defined in TD.Data.TargetChat toJSON :: TargetChat -> Value # toEncoding :: TargetChat -> Encoding # toJSONList :: [TargetChat] -> Value # toEncodingList :: [TargetChat] -> Encoding # | |
Show TargetChat Source # | |
Defined in TD.Data.TargetChat showsPrec :: Int -> TargetChat -> ShowS # show :: TargetChat -> String # showList :: [TargetChat] -> ShowS # | |
Eq TargetChat Source # | |
Defined in TD.Data.TargetChat (==) :: TargetChat -> TargetChat -> Bool # (/=) :: TargetChat -> TargetChat -> Bool # | |
ShortShow TargetChat Source # | |
Defined in TD.Data.TargetChat shortShow :: TargetChat -> String Source # |