| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.NotificationType
Synopsis
Documentation
data NotificationType Source #
Contains detailed information about a notification
Constructors
| NotificationTypeNewMessage | New message was received |
| NotificationTypeNewSecretChat | New secret chat was created |
| NotificationTypeNewCall | New call was received |
| NotificationTypeNewPushMessage | New message was received through a push notification |
Fields
| |
Instances
| FromJSON NotificationType Source # | |
Defined in TD.Data.NotificationType Methods parseJSON :: Value -> Parser NotificationType # parseJSONList :: Value -> Parser [NotificationType] # | |
| Show NotificationType Source # | |
Defined in TD.Data.NotificationType Methods showsPrec :: Int -> NotificationType -> ShowS # show :: NotificationType -> String # showList :: [NotificationType] -> ShowS # | |
| Eq NotificationType Source # | |
Defined in TD.Data.NotificationType Methods (==) :: NotificationType -> NotificationType -> Bool # (/=) :: NotificationType -> NotificationType -> Bool # | |
| ShortShow NotificationType Source # | |
Defined in TD.Data.NotificationType Methods shortShow :: NotificationType -> String Source # | |