using System; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// /// 表示 [POST] /cgi-bin/material/add_material 接口的请求。 /// [Obsolete("相关接口或字段于 2022-02-25 下线。")] public class CgibinMaterialAddMaterialRequest : WechatApiRequest { /// /// 获取或设置媒体文件类型。 /// [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] public string Type { get; set; } = string.Empty; /// /// 获取或设置文件字节数组。 /// [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] public byte[] FileBytes { get; set; } = new byte[0]; /// /// 获取或设置文件名。如果不指定将由系统自动生成。 /// [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] public string? FileName { get; set; } /// /// 获取或设置文件 Conent-Type。如果不指定将由系统自动生成。 /// [Newtonsoft.Json.JsonIgnore] [System.Text.Json.Serialization.JsonIgnore] public string? FileContentType { get; set; } /// /// 获取或设置视频标题。 /// [Newtonsoft.Json.JsonProperty("title")] [System.Text.Json.Serialization.JsonPropertyName("title")] public string? VideoTitle { get; set; } /// /// 获取或设置视频描述。 /// [Newtonsoft.Json.JsonProperty("introduction")] [System.Text.Json.Serialization.JsonPropertyName("introduction")] public string? VideoDescription { get; set; } } }