/
d.alekseev
/
SmartMenuBot
Обзор
Документация
Войти
/
d.alekseev
/
SmartMenuBot
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ConsoleBot/Core/Services/Interfaces/INotificationService.cs
18 строк
514 B
d.alekseev
feat: нотификации и фоновые задачи доставки уведомлений
26 фев 2026, 10:55
26 фев 2026, 10:55
4338916
Код
Авторство
О чём код?
using SmartMenuBot.Core.Entities; namespace SmartMenuBot.Core.Services.Interfaces { public interface INotificationService { Task<bool> ScheduleNotification( Guid userId, string type, string text, DateTime scheduledAt, CancellationToken ct); Task<IReadOnlyList<Notification>> GetScheduledNotification(DateTime scheduledBefore, CancellationToken ct); Task MarkNotified(Guid notificationId, CancellationToken ct); } }