NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOpenAppMsgDingSendMod...

63 lines
1.7 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>
/// AlipayOpenAppMsgDingSendModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenAppMsgDingSendModel : AopObject
{
/// <summary>
/// 钉钉企业应用ID
/// </summary>
[XmlElement("agent_id")]
public string AgentId { get; set; }
/// <summary>
/// 消息类型为text时表示消息内容、消息类型为link时表示消息描述
/// </summary>
[XmlElement("content")]
public string Content { get; set; }
/// <summary>
/// 消息类型为link时的消息点击链接地址
/// </summary>
[XmlElement("goto_url")]
public string GotoUrl { get; set; }
/// <summary>
/// 消息类型为link时的图片地址支持jpg格式图片大小不超过1MB
/// </summary>
[XmlElement("image_url")]
public string ImageUrl { get; set; }
/// <summary>
/// 消息类型文本为text链接为link
/// </summary>
[XmlElement("msg_type")]
public string MsgType { get; set; }
/// <summary>
/// 接收者个人为single部门为department
/// </summary>
[XmlElement("receiver")]
public string Receiver { get; set; }
/// <summary>
/// 消息类型为link时的消息标题
/// </summary>
[XmlElement("title")]
public string Title { get; set; }
/// <summary>
/// 用户UID列表
/// </summary>
[XmlArray("user_ids")]
[XmlArrayItem("string")]
public List<string> UserIds { get; set; }
}
}