mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-17 03:45:11 +00:00
Update CS models, deps
This commit is contained in:
@@ -3,10 +3,12 @@ using System.Text.Json.Serialization;
|
||||
namespace Spacebar.Models.AdminApi;
|
||||
|
||||
public class ForceJoinRequest {
|
||||
[JsonPropertyName("user_id")]
|
||||
public string? UserId { get; set; } = null!;
|
||||
[JsonPropertyName("user_id"), JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
||||
public long? UserId { get; set; } = null!;
|
||||
|
||||
[JsonPropertyName("make_admin")]
|
||||
public bool MakeAdmin { get; set; } = false;
|
||||
|
||||
[JsonPropertyName("make_owner")]
|
||||
public bool MakeOwner { get; set; } = false;
|
||||
}
|
||||
Reference in New Issue
Block a user