Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/AlipaySocialBaseChatSendModel.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

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