NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipaySocialBaseChatSendMod...

55 lines
1.8 KiB
C#
Raw Permalink 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>
/// AlipaySocialBaseChatSendModel Data Structure.
/// </summary>
[Serializable]
public class AlipaySocialBaseChatSendModel : AopObject
{
/// <summary>
/// 消息简短描述,显示在会话列表上,必填
/// </summary>
[XmlElement("biz_memo")]
public string BizMemo { get; set; }
/// <summary>
/// 客户端的消息id需要全局唯一必填
/// </summary>
[XmlElement("client_msg_id")]
public string ClientMsgId { get; set; }
/// <summary>
/// 点击消息card跳转的地址选填
/// </summary>
[XmlElement("link")]
public string Link { get; set; }
/// <summary>
/// 如果是个人消息是接收消息者的userid如果是群消息是群的id必填
/// </summary>
[XmlElement("receiver_id")]
public string ReceiverId { get; set; }
/// <summary>
/// 接受者的用户类型支付宝1群组2讨论组3必填
/// </summary>
[XmlElement("receiver_usertype")]
public string ReceiverUsertype { get; set; }
/// <summary>
/// 消息体的内容形式为json字符串必填 分享模板 { "title":支付宝聊天, "desc":"支付宝聊天", "image":"图片地址", "thumb":"缩略图地址" } 文本模板 { "m":"文本消息" }
/// </summary>
[XmlElement("template_data")]
public string TemplateData { get; set; }
/// <summary>
/// 消息模板的类型分享SHARE文本TEXT图片IMAGE必填
/// </summary>
[XmlElement("template_type")]
public string TemplateType { get; set; }
}
}