galley-0.83.0: Conversations
Safe HaskellSafe-Inferred
LanguageGHC2021

Galley.API.Public.TeamNotification

Synopsis

Documentation

type SizeRange = Range 1 10000 Int32 Source #

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.