using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
///
/// PublicMessageBody Data Structure.
///
[Serializable]
public class PublicMessageBody : AopObject
{
///
/// 图文消息,当msg_type为image-text,该值必须设置,图文消息中的图片建议尺寸 750 x 350px,小于3M,图片支持jpg、png格式
///
[XmlArray("articles")]
[XmlArrayItem("article")]
public List Articles { get; set; }
///
/// 图文类型,目前只支持image-text 和 text
///
[XmlElement("msg_type")]
public string MsgType { get; set; }
///
/// 纯文字消息内容
///
[XmlElement("text")]
public TextContent Text { get; set; }
}
}