mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 10:08:20 +08:00
feat(wxapi): 随官方更新发布能力相关接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 IMAGE 事件的数据。</para>
|
||||
@@ -29,5 +29,21 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("MediaId")]
|
||||
[System.Xml.Serialization.XmlElement("MediaId")]
|
||||
public string MediaId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置消息数据 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("MsgDataId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("MsgDataId")]
|
||||
[System.Xml.Serialization.XmlElement("MsgDataId", IsNullable = true)]
|
||||
public string? MessageDataId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图文顺序索引(从 1 开始)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Idx")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Idx")]
|
||||
[System.Xml.Serialization.XmlElement("Idx", IsNullable = true)]
|
||||
public int? Index { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 LOCATION 事件的数据。</para>
|
||||
@@ -45,5 +45,21 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Label")]
|
||||
[System.Xml.Serialization.XmlElement("Label")]
|
||||
public string Label { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置消息数据 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("MsgDataId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("MsgDataId")]
|
||||
[System.Xml.Serialization.XmlElement("MsgDataId", IsNullable = true)]
|
||||
public string? MessageDataId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图文顺序索引(从 1 开始)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Idx")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Idx")]
|
||||
[System.Xml.Serialization.XmlElement("Idx", IsNullable = true)]
|
||||
public int? Index { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 SHORTVIDEO 事件的数据。</para>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 TEXT 事件的数据。</para>
|
||||
@@ -21,5 +21,21 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Content")]
|
||||
[System.Xml.Serialization.XmlElement("Content")]
|
||||
public string Content { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置消息数据 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("MsgDataId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("MsgDataId")]
|
||||
[System.Xml.Serialization.XmlElement("MsgDataId", IsNullable = true)]
|
||||
public string? MessageDataId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图文顺序索引(从 1 开始)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Idx")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Idx")]
|
||||
[System.Xml.Serialization.XmlElement("Idx", IsNullable = true)]
|
||||
public int? Index { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 VIDEO 事件的数据。</para>
|
||||
@@ -29,5 +29,21 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("ThumbMediaId")]
|
||||
[System.Xml.Serialization.XmlElement("ThumbMediaId")]
|
||||
public string ThumbnailMediaId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置消息数据 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("MsgDataId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("MsgDataId")]
|
||||
[System.Xml.Serialization.XmlElement("MsgDataId", IsNullable = true)]
|
||||
public string? MessageDataId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图文顺序索引(从 1 开始)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Idx")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Idx")]
|
||||
[System.Xml.Serialization.XmlElement("Idx", IsNullable = true)]
|
||||
public int? Index { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 VOICE 事件的数据。</para>
|
||||
@@ -29,5 +29,21 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("MediaId")]
|
||||
[System.Xml.Serialization.XmlElement("MediaId")]
|
||||
public string MediaId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置消息数据 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("MsgDataId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("MsgDataId")]
|
||||
[System.Xml.Serialization.XmlElement("MsgDataId", IsNullable = true)]
|
||||
public string? MessageDataId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置图文顺序索引(从 1 开始)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("Idx")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("Idx")]
|
||||
[System.Xml.Serialization.XmlElement("Idx", IsNullable = true)]
|
||||
public int? Index { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/freepublish/submit 接口的响应。</para>
|
||||
@@ -11,5 +11,12 @@
|
||||
[Newtonsoft.Json.JsonProperty("publish_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("publish_id")]
|
||||
public string PublishId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置消息数据 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("msg_data_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("msg_data_id")]
|
||||
public string? MessageDataId { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user