2020-07-31 22:13:52 -04:00
|
|
|
|
using BirdsiteLive.ActivityPub.Converters;
|
2020-07-01 22:45:43 -04:00
|
|
|
|
using Newtonsoft.Json;
|
2020-06-28 23:42:23 -04:00
|
|
|
|
|
2020-07-31 22:13:52 -04:00
|
|
|
|
namespace BirdsiteLive.ActivityPub.Models
|
2020-06-28 23:42:23 -04:00
|
|
|
|
{
|
|
|
|
|
public class Note
|
|
|
|
|
{
|
2020-07-01 22:45:43 -04:00
|
|
|
|
[JsonProperty("@context")]
|
|
|
|
|
[JsonConverter(typeof(ContextArrayConverter))]
|
|
|
|
|
public string[] context { get; set; } = new[] { "https://www.w3.org/ns/activitystreams" };
|
|
|
|
|
|
2020-06-28 23:42:23 -04:00
|
|
|
|
public string id { get; set; }
|
2022-05-17 17:51:21 -04:00
|
|
|
|
public string announceId { get; set; }
|
2020-06-28 23:42:23 -04:00
|
|
|
|
public string type { get; } = "Note";
|
|
|
|
|
public string summary { get; set; }
|
|
|
|
|
public string inReplyTo { get; set; }
|
|
|
|
|
public string published { get; set; }
|
|
|
|
|
public string url { get; set; }
|
|
|
|
|
public string attributedTo { get; set; }
|
|
|
|
|
public string[] to { get; set; }
|
|
|
|
|
public string[] cc { get; set; }
|
|
|
|
|
public bool sensitive { get; set; }
|
|
|
|
|
//public string conversation { get; set; }
|
|
|
|
|
public string content { get; set; }
|
|
|
|
|
//public Dictionary<string,string> contentMap { get; set; }
|
2020-07-22 19:27:25 -04:00
|
|
|
|
public Attachment[] attachment { get; set; }
|
2020-07-31 22:13:52 -04:00
|
|
|
|
public Tag[] tag { get; set; }
|
2020-06-28 23:42:23 -04:00
|
|
|
|
//public Dictionary<string, string> replies;
|
|
|
|
|
}
|
|
|
|
|
}
|