NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipaySocialBaseChatMsgSend...

67 lines
2.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipaySocialBaseChatMsgSendModel Data Structure.
/// </summary>
[Serializable]
public class AlipaySocialBaseChatMsgSendModel : AopObject
{
/// <summary>
/// 消息简短描述,显示在会话列表上,必填
/// </summary>
[XmlElement("biz_memo")]
public string BizMemo { get; set; }
/// <summary>
/// 消息业务类型,申请接入时和我们申请,用于统计和限流
/// </summary>
[XmlElement("biz_type")]
public string BizType { get; set; }
/// <summary>
/// 客户端的消息id需要全局唯一必填
/// </summary>
[XmlElement("client_msg_id")]
public string ClientMsgId { get; set; }
/// <summary>
/// 消息隐藏方案 默认不隐藏 1:上行隐藏 0:下行隐藏,例如 A给B发消息 默认(空): A 看到一条上行消息 B看到一条下行消息(消息文本一样) 上行隐藏(1): A给B 发消息 A 看不到消息 B看到消息 下行隐藏(0): A给B发消息A看到消息 B 看不到消息
/// </summary>
[XmlElement("hidden_side")]
public string HiddenSide { get; set; }
/// <summary>
/// 点击消息card跳转的地址选填
/// </summary>
[XmlElement("link")]
public string Link { get; set; }
/// <summary>
/// 用于在用户客户端没有前台打开情况下,给用户通知提醒,示例值"发来一个红包"最终显示为"${发送者昵称}发来一个红包"
/// </summary>
[XmlElement("push_str")]
public string PushStr { get; set; }
/// <summary>
/// 接收消息者的userid必填
/// </summary>
[XmlElement("receiver_id")]
public string ReceiverId { get; set; }
/// <summary>
/// 模板code值根据这个值获取对应的模板填充数据协议
/// </summary>
[XmlElement("template_code")]
public string TemplateCode { get; set; }
/// <summary>
/// 消息体的内容形式为json字符串必填 分享模板 { "title":支付宝聊天, "desc":"支付宝聊天", "image":"图片地址", "thumb":"缩略图地址" } 文本模板 { "m":"文本消息" }
/// </summary>
[XmlElement("template_data")]
public string TemplateData { get; set; }
}
}