mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-18 17:48:12 +08:00
feat(work): 随官方更新发送客服消息相关接口模型
This commit is contained in:
@@ -276,6 +276,16 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("userid")]
|
[System.Text.Json.Serialization.JsonPropertyName("userid")]
|
||||||
public string UserId { get; set; } = string.Empty;
|
public string UserId { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class CustomerAcquisitionLinkMessage
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置获客链接。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("link_url")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("link_url")]
|
||||||
|
public string LinkUrl { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -375,5 +385,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("business_card")]
|
[Newtonsoft.Json.JsonProperty("business_card")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("business_card")]
|
[System.Text.Json.Serialization.JsonPropertyName("business_card")]
|
||||||
public Types.BusinessCardMessage? MessageContentAsBusinessCard { get; set; }
|
public Types.BusinessCardMessage? MessageContentAsBusinessCard { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置获客链接消息信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("ca_link")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("ca_link")]
|
||||||
|
public Types.CustomerAcquisitionLinkMessage? MessageContentAsCustomerAcquisitionLink { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -80,5 +80,8 @@
|
|||||||
},
|
},
|
||||||
"business_card": {
|
"business_card": {
|
||||||
"userid": "USERID"
|
"userid": "USERID"
|
||||||
|
},
|
||||||
|
"ca_link": {
|
||||||
|
"link_url": "https://work.weixin.qq.com/ca/xxxxxx"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user