接口文件
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Alipay.AopSdk.Core.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// AlipayOpenPublicMessageCustomSendModel Data Structure.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class AlipayOpenPublicMessageCustomSendModel : AopObject
|
||||
{
|
||||
/// <summary>
|
||||
/// 图文消息,当msg_type为image-text时,必须存在相对应的值
|
||||
/// </summary>
|
||||
[JsonProperty("articles")]
|
||||
|
||||
public List<Article> Articles { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否是聊天消息。支持值:0,1,当值为0时,代表是非聊天消息,消息显示在生活号主页,当值为1时,代表是聊天消息,消息显示在咨询反馈列表页。默认值为0
|
||||
/// </summary>
|
||||
[JsonProperty("chat")]
|
||||
public string Chat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息类型,text:文本消息,image-text:图文消息
|
||||
/// </summary>
|
||||
[JsonProperty("msg_type")]
|
||||
public string MsgType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当msg_type为text时,必须设置相对应的值
|
||||
/// </summary>
|
||||
[JsonProperty("text")]
|
||||
public Text Text { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息接收用户的userid
|
||||
/// </summary>
|
||||
[JsonProperty("to_user_id")]
|
||||
public string ToUserId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user