NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOpenPublicMessageGrou...

45 lines
1.5 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenPublicMessageGroupSendModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenPublicMessageGroupSendModel : AopObject
{
/// <summary>
/// 图文消息当msg_type为image-text该值必须设置图文消息中的图片建议尺寸 750 x 350px小于3M图片支持jpg、png格式
/// </summary>
[XmlArray("articles")]
[XmlArrayItem("article")]
public List<Article> Articles { get; set; }
/// <summary>
/// 用户分组ID
/// </summary>
[XmlElement("group_id")]
public string GroupId { get; set; }
/// <summary>
/// 纯图片消息暂时不支持包含url信息当msg_type为image时必须设置该值 图片尺寸建议为1080x750px小于3M图片支持jpg、png格式
/// </summary>
[XmlElement("image")]
public Image Image { get; set; }
/// <summary>
/// 消息类型text表示文本消息image-text表示图文消息
/// </summary>
[XmlElement("msg_type")]
public string MsgType { get; set; }
/// <summary>
/// 文本消息内容当msg_type为text必须设置该值而且必须同时设置标题和内容字段
/// </summary>
[XmlElement("text")]
public Text Text { get; set; }
}
}