Account flags

This commit is contained in:
2024-08-26 13:33:41 +03:00
parent 3e99c53fb3
commit 56feac7f9d
11 changed files with 631 additions and 25 deletions

View File

@ -5,5 +5,11 @@ namespace NostrStreamer.ApiModel;
public class PatchAccount
{
[JsonProperty("accept_tos")]
public bool AcceptTos { get; init; }
public bool? AcceptTos { get; init; }
[JsonProperty("blocked")]
public bool? Blocked { get; init; }
[JsonProperty("admin")]
public bool? Admin { get; init; }
}