mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(wxapi): 新增用户在小程序“客服会话按钮”进入客服会话时产生的回调通知事件模型
This commit is contained in:
@@ -2,7 +2,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 MINIPROGRAMPAGE 事件的数据。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html#%E6%96%87%E6%9C%AC%E6%B6%88%E6%81%AF </para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/customer-message/receive.html </para>
|
||||
/// </summary>
|
||||
public class MiniProgramPageMessageEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 EVENT.user_enter_tempsession 事件的数据。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/customer-message/receive.html </para>
|
||||
/// </summary>
|
||||
public class UserEnterTempSessionEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置会话来源。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("SessionFrom")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("SessionFrom")]
|
||||
[System.Xml.Serialization.XmlElement("SessionFrom")]
|
||||
public string SessionFrom { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user