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

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