Files
SocialPub/PrivaPub/Models/Post/PostMedia.cs
T

23 lines
845 B
C#
Raw Normal View History

namespace PrivaPub.Models.Post
2023-02-18 08:52:17 +01:00
{
public class PostMedia
{
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; }
public string RemoteURL { get; set; }
public string PreviewURL { get; set; }
public string AttachmentId { get; set; }
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; }
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
}
}