Files
hrynco-notification-service/HrynCo.NotificationService.Worker.Services/Push/IFirebasePushClient.cs
T
agrynco aba4173827 feat(templates): add localized push templates and actions
Share template keys across email and push with independent editors and revisions. Render localized actions and preserve version-one delivery.

Ref: IT-1627
2026-10-31 09:38:05 +02:00

14 lines
746 B
C#

using HrynCo.NotificationService.Contracts.Messages;
using HrynCo.NotificationService.DAL.Abstract.Push;
using HrynCo.NotificationService.DAL.Abstract.PushChannels;
namespace HrynCo.NotificationService.Worker.Services.Push;
public interface IFirebasePushClient
{
Task<PushDeliveryOutcome> CheckAuthorizationAsync(FirebaseServiceAccountCredentials credentials, CancellationToken cancellationToken);
Task<PushDeliveryOutcome> SendTestAsync(PushChannelTestMessage message, FirebaseServiceAccountCredentials credentials, CancellationToken cancellationToken);
Task<PushDeliveryOutcome> SendAsync(Guid messageId, RenderedPushMessageData data,
FirebaseServiceAccountCredentials credentials, CancellationToken cancellationToken);
}