ChatX/chatclient/chatapi.cs

23 lines
532 B
C#
Raw Normal View History

2025-06-01 20:33:52 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2025-06-01 22:34:58 +08:00
namespace chatapi
2025-06-01 20:33:52 +08:00
{
2025-06-01 22:34:58 +08:00
internal class LoginData
2025-06-01 20:33:52 +08:00
{
2025-06-01 22:34:58 +08:00
public bool success { get; set; }
public string? message { get; set; }
public string? token { get; set; }
public int? user_id { get; set; }
public string? username { get; set; }
}
internal class RegisterData
{
public bool success { get; set; }
public string? message { get; set; }
2025-06-01 20:33:52 +08:00
}
}