mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(work): 随官方更新发送应用消息接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||||
{
|
{
|
||||||
@@ -618,12 +618,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
|
|
||||||
public class Button
|
public class Button
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置按钮点击类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||||
|
public int? Type { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置按钮 Key 值。
|
/// 获取或设置按钮 Key 值。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("key")]
|
[Newtonsoft.Json.JsonProperty("key")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("key")]
|
[System.Text.Json.Serialization.JsonPropertyName("key")]
|
||||||
public string Key { get; set; } = string.Empty;
|
public string? Key { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置按钮文案。
|
/// 获取或设置按钮文案。
|
||||||
@@ -638,6 +645,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("style")]
|
[Newtonsoft.Json.JsonProperty("style")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("style")]
|
[System.Text.Json.Serialization.JsonPropertyName("style")]
|
||||||
public int? Style { get; set; }
|
public int? Style { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置按钮点击跳转 URL。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("url")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("url")]
|
||||||
|
public string? Url { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Checkbox
|
public class Checkbox
|
||||||
|
|||||||
Reference in New Issue
Block a user