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