Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/Material.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

32 lines
839 B
C#
Raw 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 System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// Material Data Structure.
/// </summary>
[Serializable]
public class Material : AopObject
{
/// <summary>
/// 图文消息子消息项集合单条消息最多6个子项否则会发送失败
/// </summary>
[JsonProperty("articles")]
public List<Article> Articles { get; set; }
/// <summary>
/// 消息类型text文本类型image-text图文类型。当消息类型为text时text参数必传当消息类型为image-text时articles参数必传
/// </summary>
[JsonProperty("msg_type")]
public string MsgType { get; set; }
/// <summary>
/// 文本消息内容
/// </summary>
[JsonProperty("text")]
public Text Text { get; set; }
}
}