Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data NotificationType Source #
Contains detailed information about a notification
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 |
|
Instances
FromJSON NotificationType Source # | |
Defined in TD.Data.NotificationType parseJSON :: Value -> Parser NotificationType # parseJSONList :: Value -> Parser [NotificationType] # | |
Show NotificationType Source # | |
Defined in TD.Data.NotificationType showsPrec :: Int -> NotificationType -> ShowS # show :: NotificationType -> String # showList :: [NotificationType] -> ShowS # | |
Eq NotificationType Source # | |
Defined in TD.Data.NotificationType (==) :: NotificationType -> NotificationType -> Bool # (/=) :: NotificationType -> NotificationType -> Bool # | |
ShortShow NotificationType Source # | |
Defined in TD.Data.NotificationType shortShow :: NotificationType -> String Source # |