2024-08-27 17:12:17 +00:00
|
|
|
namespace BotSharp.Abstraction.Files.Models;
|
|
|
|
|
|
2024-09-10 19:02:25 +00:00
|
|
|
public class FileDataModel : FileBase
|
2024-08-27 17:12:17 +00:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// File name with extension
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonPropertyName("file_name")]
|
|
|
|
|
public new string FileName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// File data => format: "data:image/png;base64,aaaaaaaa"
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonPropertyName("file_data")]
|
|
|
|
|
public new string FileData { get; set; } = string.Empty;
|
|
|
|
|
}
|