Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data ReportReason Source #
Describes the reason why a chat is reported
ReportReasonSpam | The chat contains spam messages |
ReportReasonViolence | The chat promotes violence |
ReportReasonPornography | The chat contains pornographic messages |
ReportReasonChildAbuse | The chat has child abuse related content |
ReportReasonCopyright | The chat contains copyrighted content |
ReportReasonUnrelatedLocation | The location-based chat is unrelated to its stated location |
ReportReasonFake | The chat represents a fake account |
ReportReasonIllegalDrugs | The chat has illegal drugs related content |
ReportReasonPersonalDetails | The chat contains messages with personal details |
ReportReasonCustom | A custom reason provided by the user |
Instances
FromJSON ReportReason Source # | |
Defined in TD.Data.ReportReason parseJSON :: Value -> Parser ReportReason # parseJSONList :: Value -> Parser [ReportReason] # | |
ToJSON ReportReason Source # | |
Defined in TD.Data.ReportReason toJSON :: ReportReason -> Value # toEncoding :: ReportReason -> Encoding # toJSONList :: [ReportReason] -> Value # toEncodingList :: [ReportReason] -> Encoding # | |
Show ReportReason Source # | |
Defined in TD.Data.ReportReason showsPrec :: Int -> ReportReason -> ShowS # show :: ReportReason -> String # showList :: [ReportReason] -> ShowS # | |
Eq ReportReason Source # | |
Defined in TD.Data.ReportReason (==) :: ReportReason -> ReportReason -> Bool # (/=) :: ReportReason -> ReportReason -> Bool # | |
ShortShow ReportReason Source # | |
Defined in TD.Data.ReportReason shortShow :: ReportReason -> String Source # |