mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 16:05:41 +00:00
12 lines
364 B
C#
12 lines
364 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Spacebar.Models.AdminApi;
|
|
|
|
public class ForceJoinRequest {
|
|
[JsonPropertyName("user_id")]
|
|
public string? UserId { get; set; } = null!;
|
|
[JsonPropertyName("make_admin")]
|
|
public bool MakeAdmin { get; set; } = false;
|
|
[JsonPropertyName("make_owner")]
|
|
public bool MakeOwner { get; set; } = false;
|
|
} |