Code/Entities/Social/Note.cs

A simple data model representing a social note or message between users. It stores the sender and recipient as UserOverview objects, the message text, and a timestamp as a long.

#nullable enable annotations

namespace LichessNET.Entities.Social;

public class Note
{
    public UserOverview From { get; set; }
    public UserOverview To { get; set; }
    public string Text { get; set; }
    public long Date { get; set; }
}