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