Class NotificationDto
DTO для передачи уведомления
Inherited Members
Namespace: NotifyHub.Abstractions.DTOs
Assembly: NotifyHub.Abstractions.dll
Syntax
public class NotificationDto
Properties
| Edit this page View SourceDescription
Описание
Declaration
public required string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Почта пользователя, если потребуется отправка по почте
Declaration
public string? Email { get; init; }
Property Value
Type | Description |
---|---|
string |
Frequency
Частота отправки
Declaration
public NotificationFrequency? Frequency { get; set; }
Property Value
Type | Description |
---|---|
NotificationFrequency? |
Id
ID
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ScheduledAt
Когда запланирована отправка
Declaration
public DateTime ScheduledAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
TelegramUserId
ID пользователя в Telegram
Declaration
public required long TelegramUserId { get; set; }
Property Value
Type | Description |
---|---|
long |
Title
Название
Declaration
public required string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Тип (периодичное/одноразовое)
Declaration
public NotificationType Type { get; set; }
Property Value
Type | Description |
---|---|
NotificationType |