Table of Contents

Interface INotificationsService

Namespace
OpenSettings.Services.Interfaces
Assembly
OpenSettings.dll
public interface INotificationsService

Methods

CreateNotificationAsync(CreateNotificationInput, CancellationToken)

Task<IResponse> CreateNotificationAsync(CreateNotificationInput input, CancellationToken cancellationToken = default)

Parameters

input CreateNotificationInput
cancellationToken CancellationToken

Returns

Task<IResponse>

DeleteNotificationAsync(DeleteNotificationInput, CancellationToken)

Task<IResponse> DeleteNotificationAsync(DeleteNotificationInput input, CancellationToken cancellationToken = default)

Parameters

input DeleteNotificationInput
cancellationToken CancellationToken

Returns

Task<IResponse>

DispatchNotificationsToUsersAsync(DispatchNotificationsToUsersInput, CancellationToken)

Task<IResponse> DispatchNotificationsToUsersAsync(DispatchNotificationsToUsersInput input, CancellationToken cancellationToken = default)

Parameters

input DispatchNotificationsToUsersInput
cancellationToken CancellationToken

Returns

Task<IResponse>

GetNotificationsAsync(GetNotificationsInput, CancellationToken)

Task<IResponse> GetNotificationsAsync(GetNotificationsInput input, CancellationToken cancellationToken = default)

Parameters

input GetNotificationsInput
cancellationToken CancellationToken

Returns

Task<IResponse>

GetUserNotificationsAsync(GetUserNotificationsInput, CancellationToken)

Task<IResponse> GetUserNotificationsAsync(GetUserNotificationsInput input, CancellationToken cancellationToken = default)

Parameters

input GetUserNotificationsInput
cancellationToken CancellationToken

Returns

Task<IResponse>

MarkNotificationAsDismissedAsync(MarkNotificationAsInput, CancellationToken)

Task<IResponse> MarkNotificationAsDismissedAsync(MarkNotificationAsInput input, CancellationToken cancellationToken = default)

Parameters

input MarkNotificationAsInput
cancellationToken CancellationToken

Returns

Task<IResponse>

MarkNotificationAsViewedAsync(MarkNotificationAsInput, CancellationToken)

Task<IResponse> MarkNotificationAsViewedAsync(MarkNotificationAsInput input, CancellationToken cancellationToken = default)

Parameters

input MarkNotificationAsInput
cancellationToken CancellationToken

Returns

Task<IResponse>

MarkNotificationsAsOpenedAsync(MarkNotificationsAsOpenedInput, CancellationToken)

Task<IResponse> MarkNotificationsAsOpenedAsync(MarkNotificationsAsOpenedInput input, CancellationToken cancellationToken = default)

Parameters

input MarkNotificationsAsOpenedInput
cancellationToken CancellationToken

Returns

Task<IResponse>

UpdateNotificationAsync(UpdateNotificationInput, CancellationToken)

Task<IResponse> UpdateNotificationAsync(UpdateNotificationInput input, CancellationToken cancellationToken = default)

Parameters

input UpdateNotificationInput
cancellationToken CancellationToken

Returns

Task<IResponse>