2026-10-01 11:17:14 +02:00
|
|
|
namespace PrivaPub.Models.Post
|
2023-02-18 08:52:17 +01:00
|
|
|
{
|
|
|
|
|
public class PostMedia
|
|
|
|
|
{
|
2026-10-01 11:17:14 +02:00
|
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
2023-02-18 08:52:17 +01:00
|
|
|
public string ContentType { get; set; }
|
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
public string Extension { get; set; }
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
public string URL { get; set; }
|
2026-10-01 11:17:14 +02:00
|
|
|
public string RemoteURL { get; set; }
|
2026-10-01 12:22:08 +02:00
|
|
|
public string PreviewURL { get; set; }
|
|
|
|
|
public string AttachmentId { get; set; }
|
2026-10-01 11:17:14 +02:00
|
|
|
public string Description { get; set; }
|
|
|
|
|
public string Blurhash { get; set; }
|
|
|
|
|
public int? Width { get; set; }
|
|
|
|
|
public int? Height { get; set; }
|
|
|
|
|
public float[] Focus { get; set; }
|
2026-10-01 17:53:59 +02:00
|
|
|
public string RemotePreviewURL { get; set; }//the remote thumbnail (attachment icon), served through the proxy
|
|
|
|
|
public double? DurationSeconds { get; set; }
|
|
|
|
|
public bool? Sensitive { get; set; }//Misskey marks each attachment
|
2023-02-18 08:52:17 +01:00
|
|
|
}
|
|
|
|
|
}
|