I like <b>cats</b>
", actor["summary"]!.GetValuebody
", HasContentWarning = true, Language = "en", Mentions = new() { new PostMention { ActorURI = "https://m.example/users/bob", Handle = "@bob@m.example" } }, Tags = new() { "cats" }, CreationDate = new DateTime(2026, 9, 30, 17, 45, 12, 345, DateTimeKind.Utc) }; var note = ActivityPubRenderer.Note(post, Alice, default, "https://m.example/users/bob/statuses/1"); Assert.Equal("https://privapub.test/peasants/alice/scribbles/p1", note["id"]!.GetValueOn <cats>
body
", note["content"]!.GetValuex
", HasContentWarning = true }, Alice, default, default); Assert.Equal(ActivityPubRenderer.ContentWarning, note["summary"]!.GetValuepsst
", Visibility = PostVisibility.Direct }; var note = ActivityPubRenderer.DirectNote(post, Alice, new[] { ("https://m.example/users/bob", "bob@m.example") }, Alice.ConversationUri("c1")); Assert.Equal(new[] { "https://m.example/users/bob" }, note["to"]!.AsArray().Select(n => n!.GetValue());
Assert.Equal("Mention", note["tag"]![0]!["type"]!.GetValue