Fixed: model namespace mismatch and property naming in FileUploadService

This commit is contained in:
2026-05-05 07:31:45 +02:00
parent 03d8fe15f8
commit b43725506b
4 changed files with 114 additions and 79 deletions

View File

@@ -32,4 +32,17 @@ namespace Chtn.CSharp.SDK.Models.Media
{
[JsonProperty("uploadId")] public string UploadId { get; set; }
}
public class FileData
{
public string FileId { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public byte[] Data { get; set; }
}
public interface IFileUploadProgressListener
{
void FileProgressUpdate(string tempMsgId, string fileId, int totalChunks, int currentChunk);
}
}