mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(wxapi): 随官方标记发送模板消息相关接口或字段为废弃
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||||
{
|
{
|
||||||
@@ -38,6 +39,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置消息字体颜色(格式:#RRGGBB)。
|
/// 获取或设置消息字体颜色(格式:#RRGGBB)。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("相关接口或字段于 2023-05-04 下线。")]
|
||||||
[Newtonsoft.Json.JsonProperty("color")]
|
[Newtonsoft.Json.JsonProperty("color")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("color")]
|
[System.Text.Json.Serialization.JsonPropertyName("color")]
|
||||||
public string? Color { get; set; }
|
public string? Color { get; set; }
|
||||||
@@ -78,5 +80,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("data")]
|
[Newtonsoft.Json.JsonProperty("data")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("data")]
|
[System.Text.Json.Serialization.JsonPropertyName("data")]
|
||||||
public IDictionary<string, Types.DataItem>? Data { get; set; }
|
public IDictionary<string, Types.DataItem>? Data { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置调用方请求的唯一标识。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("client_msg_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("client_msg_id")]
|
||||||
|
public string? ClientMessageId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user