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 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /cgi-bin/kf/get_corp_statistic 接口的响应。</para>
|
/// <para>表示 [POST] /cgi-bin/kf/get_corp_statistic 接口的响应。</para>
|
||||||
@@ -41,6 +41,13 @@
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("upgrade_service_customer_cnt")]
|
[System.Text.Json.Serialization.JsonPropertyName("upgrade_service_customer_cnt")]
|
||||||
public int UpgradeServiceCustomerCount { get; set; }
|
public int UpgradeServiceCustomerCount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置被拒收消息的客户数。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("msg_rejected_customer_cnt")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("msg_rejected_customer_cnt")]
|
||||||
|
public int MessageRejectedCustomerCount { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置智能回复会话数。
|
/// 获取或设置智能回复会话数。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /cgi-bin/kf/get_servicer_statistic 接口的响应。</para>
|
/// <para>表示 [POST] /cgi-bin/kf/get_servicer_statistic 接口的响应。</para>
|
||||||
@@ -117,6 +117,13 @@
|
|||||||
[Newtonsoft.Json.JsonProperty("upgrade_service_groupchat_customer_cnt")]
|
[Newtonsoft.Json.JsonProperty("upgrade_service_groupchat_customer_cnt")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("upgrade_service_groupchat_customer_cnt")]
|
[System.Text.Json.Serialization.JsonPropertyName("upgrade_service_groupchat_customer_cnt")]
|
||||||
public int UpgradeServiceGroupChatCustomerCount { get; set; }
|
public int UpgradeServiceGroupChatCustomerCount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置被拒收消息的客户数。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("msg_rejected_customer_cnt")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("msg_rejected_customer_cnt")]
|
||||||
|
public int MessageRejectedCustomerCount { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||||
{
|
{
|
||||||
@@ -107,6 +107,15 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("content")]
|
[Newtonsoft.Json.JsonProperty("content")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("content")]
|
[System.Text.Json.Serialization.JsonPropertyName("content")]
|
||||||
public string Content { get; set; } = string.Empty;
|
public string Content { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置内容后面是否不换行。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("no_newline")]
|
||||||
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalNullableBooleanConverter))]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("no_newline")]
|
||||||
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalNullableBooleanConverter))]
|
||||||
|
public bool? IsNoNewline { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Click
|
public class Click
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"errcode": 0,
|
"errcode": 0,
|
||||||
"errmsg": "ok",
|
"errmsg": "ok",
|
||||||
"statistic_list": [
|
"statistic_list": [
|
||||||
@@ -11,7 +11,8 @@
|
|||||||
"upgrade_service_customer_cnt": 0,
|
"upgrade_service_customer_cnt": 0,
|
||||||
"ai_session_reply_cnt": 1,
|
"ai_session_reply_cnt": 1,
|
||||||
"ai_transfer_rate": 1,
|
"ai_transfer_rate": 1,
|
||||||
"ai_knowledge_hit_rate": 0
|
"ai_knowledge_hit_rate": 0,
|
||||||
|
"msg_rejected_customer_cnt": 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -23,7 +24,8 @@
|
|||||||
"upgrade_service_customer_cnt": 0,
|
"upgrade_service_customer_cnt": 0,
|
||||||
"ai_session_reply_cnt": 1,
|
"ai_session_reply_cnt": 1,
|
||||||
"ai_transfer_rate": 1,
|
"ai_transfer_rate": 1,
|
||||||
"ai_knowledge_hit_rate": 0
|
"ai_knowledge_hit_rate": 0,
|
||||||
|
"msg_rejected_customer_cnt": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"errcode": 0,
|
"errcode": 0,
|
||||||
"errmsg": "ok",
|
"errmsg": "ok",
|
||||||
"statistic_list": [
|
"statistic_list": [
|
||||||
@@ -19,7 +19,8 @@
|
|||||||
"upgrade_service_member_invite_cnt": 0,
|
"upgrade_service_member_invite_cnt": 0,
|
||||||
"upgrade_service_member_customer_cnt": 0,
|
"upgrade_service_member_customer_cnt": 0,
|
||||||
"upgrade_service_groupchat_invite_cnt": 0,
|
"upgrade_service_groupchat_invite_cnt": 0,
|
||||||
"upgrade_service_groupchat_customer_cnt": 0
|
"upgrade_service_groupchat_customer_cnt": 0,
|
||||||
|
"msg_rejected_customer_cnt": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"code": "CODE",
|
"code": "CODE",
|
||||||
"msgid": "MSG_ID",
|
"msgid": "MSG_ID",
|
||||||
"msgtype": "MSG_TYPE",
|
"msgtype": "MSG_TYPE",
|
||||||
@@ -36,6 +36,13 @@
|
|||||||
"pagepath": "pages/index?userid=zhangsan&orderid=123123123",
|
"pagepath": "pages/index?userid=zhangsan&orderid=123123123",
|
||||||
"content": "点击打开小程序查询更多"
|
"content": "点击打开小程序查询更多"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"text": {
|
||||||
|
"content": "纯文本,支持\n换行",
|
||||||
|
"no_newline": 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tail_content": "如有问题,随时转人工服务"
|
"tail_content": "如有问题,随时转人工服务"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"touser": "EXTERNAL_USERID",
|
"touser": "EXTERNAL_USERID",
|
||||||
"open_kfid": "OPEN_KFID",
|
"open_kfid": "OPEN_KFID",
|
||||||
"msgid": "MSGID",
|
"msgid": "MSGID",
|
||||||
@@ -65,7 +65,8 @@
|
|||||||
{
|
{
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"text": {
|
"text": {
|
||||||
"content": "纯文本,支持\n换行"
|
"content": "纯文本,支持\n换行",
|
||||||
|
"no_newline": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user