| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.NotificationGroupType
Documentation
data NotificationGroupType Source #
Describes the type of notifications in a notification group
Constructors
| NotificationGroupTypeMessages | A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages |
| NotificationGroupTypeMentions | A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message |
| NotificationGroupTypeSecretChat | A group containing a notification of type notificationTypeNewSecretChat |
| NotificationGroupTypeCalls | A group containing notifications of type notificationTypeNewCall |
Instances
| FromJSON NotificationGroupType Source # | |
Defined in TD.Data.NotificationGroupType Methods parseJSON :: Value -> Parser NotificationGroupType # parseJSONList :: Value -> Parser [NotificationGroupType] # | |
| Show NotificationGroupType Source # | |
Defined in TD.Data.NotificationGroupType Methods showsPrec :: Int -> NotificationGroupType -> ShowS # show :: NotificationGroupType -> String # showList :: [NotificationGroupType] -> ShowS # | |
| Eq NotificationGroupType Source # | |
Defined in TD.Data.NotificationGroupType Methods (==) :: NotificationGroupType -> NotificationGroupType -> Bool # (/=) :: NotificationGroupType -> NotificationGroupType -> Bool # | |
| ShortShow NotificationGroupType Source # | |
Defined in TD.Data.NotificationGroupType Methods | |