Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/AlipayOpenPublicMessageCustomSendModel.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

44 lines
1.2 KiB
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>
/// AlipayOpenPublicMessageCustomSendModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenPublicMessageCustomSendModel : AopObject
{
/// <summary>
/// 图文消息当msg_type为image-text时必须存在相对应的值
/// </summary>
[JsonProperty("articles")]
public List<Article> Articles { get; set; }
/// <summary>
/// 是否是聊天消息。支持值01当值为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; }
}
}