mirror of
https://github.com/NicolasConstant/BirdsiteLive
synced 2025-06-05 21:49:16 +02:00
creating notes functionnal
This commit is contained in:
15
src/BirdsiteLive.ActivityPub/Models/ActivityCreateNote.cs
Normal file
15
src/BirdsiteLive.ActivityPub/Models/ActivityCreateNote.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace BirdsiteLive.ActivityPub
|
||||
{
|
||||
public class ActivityCreateNote : Activity
|
||||
{
|
||||
public string published { get; set; }
|
||||
public string[] to { get; set; }
|
||||
public string[] cc { get; set; }
|
||||
|
||||
[JsonProperty("object")]
|
||||
public Note apObject { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user