Implement AuthService and ApiClient core logic

This commit is contained in:
2026-04-09 14:22:47 +02:00
parent 3ee4edac6c
commit 8cbfa61766
22 changed files with 503 additions and 13 deletions

View File

@@ -0,0 +1,20 @@
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Chtn.CSharp.SDK.Models.Media
{
public class RegisterUploadReq
{
[JsonProperty("roomId")] public string RoomId { get; set; }
[JsonProperty("userid")] public string UserId { get; set; }
[JsonProperty("files")] public List<FileUploadRegistration> Files { get; set; }
}
public class FileUploadRegistration
{
[JsonProperty("size")] public long Size { get; set; }
[JsonProperty("type")] public string Type { get; set; }
[JsonProperty("name")] public string Name { get; set; }
[JsonProperty("fileId")] public string FileId { get; set; }
}
public class RegisterUploadResp { public string UploadId { get; set; } }
}