using Senparc.Weixin.Work.AdvancedAPIs.External.ExternalJson;
using System.Collections.Generic;
namespace Edu.ThirdCore.QYWinXin.Model
{
///
/// 企业微信客户标签扩展类
///
public class UpdateContactWayRequest
{
///
/// 配置id
///
public string config_id { get; set; }
///
/// 联系方式的备注信息,用于助记,不超过30个字符
///
public string remark { get; set; }
///
/// 外部客户添加时是否无需验证,默认为true
///
public bool? skip_verify { get; set; }
///
/// 企业自定义的state参数,用于区分不同的添加渠道,在调用“获取外部联系人详情(https://work.weixin.qq.com/api/doc/90000/90135/92114)”时会返回该参数值,不超过30个字符
///
public string state { get; set; }
///
/// 使用该联系方式的用户userID列表,在type为1时为必填,且只能有一个
///
public string[] user { get; set; }
///
/// 使用该联系方式的部门id列表,只在type为2时有效
///
public int[] party { get; set; }
///
/// 是否临时会话模式,true表示使用临时会话模式,默认为false
///
public bool? is_temp { get; set; }
///
/// 临时会话二维码有效期,以秒为单位。该参数仅在is_temp为true时有效,默认7天
///
public int? expires_in { get; set; }
///
/// 临时会话有效期,以秒为单位。该参数仅在is_temp为true时有效,默认为添加好友后24小时
///
public int? chat_expires_in { get; set; }
///
/// 可进行临时会话的客户unionid,该参数仅在is_temp为true时有效,如不指定则不进行限制
///
public string unionid { get; set; }
///
/// 结束语,会话结束时自动发送给客户,可参考“结束语定义”,仅在is_temp为true时有效
///
public Conclusions conclusions { get; set; }
}
}