BITKit/Packages/Runtime~/Core/Models/WXPusher.cs

34 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace BITKit
{
[System.Serializable]
public record WeChatMessage
{
/// <summary>
/// WXPusher接口Token
/// </summary>
public string appToken = "AT_93EEY2WYtU9AQzMULFVXCUIKieixCbBc";
/// <summary>
/// 推送内容
/// </summary>
public string content;
/// <summary>
/// 消息摘要",//消息摘要显示在微信聊天页面或者模版消息卡片上限制长度100可以不传不传默认截取content前面的内容。
/// </summary>
public string summary;
/// <summary>
/// 内容类型 1表示文字 2表示html(只发送body标签内部的数据即可不包括body标签) 3表示markdown
/// </summary>
public int contentType = 1;
/// <summary>
/// 是否验证订阅时间true表示只推送给付费订阅用户false表示推送的时候不验证付费不验证用户订阅到期时间用户订阅过期了也能收到。
/// </summary>
public bool verifyPay = false;
/// <summary>
/// 推送用户的uid
/// </summary>
public string[] uids = new string[]
{
"UID_mjMsThbCofwk5YSDJvBegUv0X0jK",
};
}
}