namespace Uwaa.Pleroma;
public class Mention
{
public static implicit operator string(Mention mention) => mention.ID;
///
/// The webfinger acct: URI of the mentioned user. Equivalent to username for local users, or username@domain for remote users.
///
[JsonPropertyName("acct")]
public string Account { get; set; } = null!;
///
/// The account id of the mentioned user
///
[JsonPropertyName("id")]
public string ID { get; set; } = null!;
///
/// The location of the mentioned user's profile
///
[JsonPropertyName("url")]
public string URL { get; set; } = null!;
///
/// The username of the mentioned user
///
[JsonPropertyName("username")]
public string Username { get; set; } = null!;
public override string ToString() => $"@{Account}";
}