mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-02-20 07:46:34 -05:00
22 lines
557 B
C#
22 lines
557 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.Notifications.Telegram;
|
|
|
|
public sealed class TelegramPayload
|
|
{
|
|
[JsonProperty("chat_id")]
|
|
public string ChatId { get; init; } = string.Empty;
|
|
|
|
[JsonProperty("text")]
|
|
public string Text { get; init; } = string.Empty;
|
|
|
|
[JsonProperty("photo")]
|
|
public string? PhotoUrl { get; init; }
|
|
|
|
[JsonProperty("message_thread_id")]
|
|
public int? MessageThreadId { get; init; }
|
|
|
|
[JsonProperty("disable_notification")]
|
|
public bool DisableNotification { get; init; }
|
|
}
|