Fixed: model namespace mismatch and property naming in FileUploadService
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user