using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.betaapp_verify_apply_event 事件的数据。
/// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/verify_beta_Mini_Programs/mpverifybetaweapp.html
///
public class BetaAppVerifyApplyEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable
{
public new static class Types
{
public class EventData
{
///
/// 获取或设置小程序的 AppId。
///
[System.Xml.Serialization.XmlElement("appid")]
public string MiniProgramAppId { get; set; } = default!;
///
/// 获取或设置公众号的 AppId。
///
[System.Xml.Serialization.XmlElement("mp_appid")]
public string MediaPlatformAppId { get; set; } = default!;
///
/// 获取或设置错误码。
///
[System.Xml.Serialization.XmlElement("status")]
public int ErrorCode { get; set; }
///
/// 获取或设置错误信息。
///
[System.Xml.Serialization.XmlElement("msg")]
public string? ErrorMessage { get; set; }
}
}
///
/// 获取或设置事件数据。
///
[System.Xml.Serialization.XmlElement("ApplyAuthorizationInfoNoitfy")]
public Types.EventData EventData { get; set; } = default!;
}
}