Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- teamNotificationAPI :: API TeamNotificationAPI GalleyEffects
- type SizeRange = Range 1 10000 Int32
- getTeamNotifications :: (Member BrigAccess r, Member (ErrorS 'TeamNotFound) r, Member (ErrorS 'InvalidTeamNotificationId) r, Member TeamNotificationStore r) => UserId -> Maybe NotificationId -> Maybe SizeRange -> Sem r QueuedNotificationList
Documentation
getTeamNotifications :: (Member BrigAccess r, Member (ErrorS 'TeamNotFound) r, Member (ErrorS 'InvalidTeamNotificationId) r, Member TeamNotificationStore r) => UserId -> Maybe NotificationId -> Maybe SizeRange -> Sem r QueuedNotificationList Source #
See also: paginateH
, but the semantics of this end-point is slightly
less warped. This is a work-around because we cannot send events to all of a large team.
See haddocks of module Galley.API.TeamNotifications for details.