mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-04-05 17:37:54 +08:00
feat(work): 随官方更新微信客服消息相关接口模型
This commit is contained in:
parent
2bb89a58ad
commit
950cb062d6
@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/kf/get_corp_statistic 接口的响应。</para>
|
||||
@ -41,6 +41,13 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("upgrade_service_customer_cnt")]
|
||||
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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/kf/get_servicer_statistic 接口的响应。</para>
|
||||
@ -117,6 +117,13 @@
|
||||
[Newtonsoft.Json.JsonProperty("upgrade_service_groupchat_customer_cnt")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("upgrade_service_groupchat_customer_cnt")]
|
||||
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
|
||||
{
|
||||
@ -107,6 +107,15 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[Newtonsoft.Json.JsonProperty("content")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("content")]
|
||||
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
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"statistic_list": [
|
||||
@ -11,7 +11,8 @@
|
||||
"upgrade_service_customer_cnt": 0,
|
||||
"ai_session_reply_cnt": 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,
|
||||
"ai_session_reply_cnt": 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,
|
||||
"errmsg": "ok",
|
||||
"statistic_list": [
|
||||
@ -19,7 +19,8 @@
|
||||
"upgrade_service_member_invite_cnt": 0,
|
||||
"upgrade_service_member_customer_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",
|
||||
"msgid": "MSG_ID",
|
||||
"msgtype": "MSG_TYPE",
|
||||
@ -36,6 +36,13 @@
|
||||
"pagepath": "pages/index?userid=zhangsan&orderid=123123123",
|
||||
"content": "点击打开小程序查询更多"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"text": {
|
||||
"content": "纯文本,支持\n换行",
|
||||
"no_newline": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"tail_content": "如有问题,随时转人工服务"
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"touser": "EXTERNAL_USERID",
|
||||
"open_kfid": "OPEN_KFID",
|
||||
"msgid": "MSGID",
|
||||
@ -65,7 +65,8 @@
|
||||
{
|
||||
"type": "text",
|
||||
"text": {
|
||||
"content": "纯文本,支持\n换行"
|
||||
"content": "纯文本,支持\n换行",
|
||||
"no_newline": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user