Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data ReportChatResult Source #
Describes result of chat report
ReportChatResultOk | The chat was reported successfully |
ReportChatResultOptionRequired | The user must choose an option to report the chat and repeat request with the chosen option |
ReportChatResultTextRequired | The user must add additional text details to the report |
| |
ReportChatResultMessagesRequired | The user must choose messages to report and repeat the reportChat request with the chosen messages |
Instances
FromJSON ReportChatResult Source # | |
Defined in TD.Data.ReportChatResult parseJSON :: Value -> Parser ReportChatResult # parseJSONList :: Value -> Parser [ReportChatResult] # | |
Show ReportChatResult Source # | |
Defined in TD.Data.ReportChatResult showsPrec :: Int -> ReportChatResult -> ShowS # show :: ReportChatResult -> String # showList :: [ReportChatResult] -> ShowS # | |
Eq ReportChatResult Source # | |
Defined in TD.Data.ReportChatResult (==) :: ReportChatResult -> ReportChatResult -> Bool # (/=) :: ReportChatResult -> ReportChatResult -> Bool # | |
ShortShow ReportChatResult Source # | |
Defined in TD.Data.ReportChatResult shortShow :: ReportChatResult -> String Source # |