19 lines
470 B
C#
19 lines
470 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace BotSharp.OpenAPI.ViewModels.Users;
|
|
|
|
public class UserAvatarModel
|
|
{
|
|
/// <summary>
|
|
/// File name with extension
|
|
/// </summary>
|
|
[JsonPropertyName("file_name")]
|
|
public string FileName { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// File data, e.g., "data:image/png;base64,aaaaaaaa"
|
|
/// </summary>
|
|
[JsonPropertyName("file_data")]
|
|
public string FileData { get; set; } = string.Empty;
|
|
}
|