| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.ReportChatResult
Synopsis
Documentation
data ReportChatResult Source #
Describes result of chat report
Constructors
| 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 |
Fields
| |
| 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 Methods parseJSON :: Value -> Parser ReportChatResult # parseJSONList :: Value -> Parser [ReportChatResult] # | |
| Show ReportChatResult Source # | |
Defined in TD.Data.ReportChatResult Methods showsPrec :: Int -> ReportChatResult -> ShowS # show :: ReportChatResult -> String # showList :: [ReportChatResult] -> ShowS # | |
| Eq ReportChatResult Source # | |
Defined in TD.Data.ReportChatResult Methods (==) :: ReportChatResult -> ReportChatResult -> Bool # (/=) :: ReportChatResult -> ReportChatResult -> Bool # | |
| ShortShow ReportChatResult Source # | |
Defined in TD.Data.ReportChatResult Methods shortShow :: ReportChatResult -> String Source # | |