Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.TargetChat
Synopsis
- data TargetChat
Documentation
data TargetChat Source #
Describes the target chat to be opened
Constructors
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 |
Fields
| |
TargetChatInternalLink | The chat needs to be open with the provided internal link |
Fields
|
Instances
FromJSON TargetChat Source # | |
Defined in TD.Data.TargetChat | |
ToJSON TargetChat Source # | |
Defined in TD.Data.TargetChat Methods toJSON :: TargetChat -> Value # toEncoding :: TargetChat -> Encoding # toJSONList :: [TargetChat] -> Value # toEncodingList :: [TargetChat] -> Encoding # | |
Show TargetChat Source # | |
Defined in TD.Data.TargetChat Methods showsPrec :: Int -> TargetChat -> ShowS # show :: TargetChat -> String # showList :: [TargetChat] -> ShowS # | |
Eq TargetChat Source # | |
Defined in TD.Data.TargetChat | |
ShortShow TargetChat Source # | |
Defined in TD.Data.TargetChat Methods shortShow :: TargetChat -> String Source # |