19 lines
949 B
C#
19 lines
949 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace JournalBot.Shared;
|
|
|
|
public sealed class QueueItem
|
|
{
|
|
[JsonPropertyName("update_id")] public long UpdateId { get; set; }
|
|
[JsonPropertyName("received_at")] public string ReceivedAt { get; set; } = "";
|
|
[JsonPropertyName("type")] public string Type { get; set; } = "";
|
|
[JsonPropertyName("text")] public string Text { get; set; } = "";
|
|
[JsonPropertyName("raw_audio_path")] public string? RawAudioPath { get; set; }
|
|
[JsonPropertyName("image_embed")] public string? ImageEmbed { get; set; }
|
|
[JsonPropertyName("image_caption")] public string? ImageCaption { get; set; }
|
|
[JsonPropertyName("attempts")] public int Attempts { get; set; }
|
|
[JsonPropertyName("target_path")] public string? TargetPath { get; set; }
|
|
[JsonPropertyName("written_entry")] public string? WrittenEntry { get; set; }
|
|
[JsonPropertyName("processed_at")] public string? ProcessedAt { get; set; }
|
|
}
|