feat(work): 随官方更新发送普通邮件接口模型

This commit is contained in:
Fu Diwei
2023-05-24 10:17:21 +08:00
parent dba8b17145
commit c3b6354de5
2 changed files with 19 additions and 9 deletions

View File

@@ -291,5 +291,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
[Newtonsoft.Json.JsonProperty("meeting")]
[System.Text.Json.Serialization.JsonPropertyName("meeting")]
public Types.Meeting? Meeting { get; set; }
/// <summary>
/// 获取或设置是否开启 ID 转译。
/// </summary>
[Newtonsoft.Json.JsonProperty("enable_id_trans")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalNullableBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("enable_id_trans")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalNullableBooleanConverter))]
public bool? EnableIdTransform { get; set; }
}
}

View File

@@ -1,4 +1,4 @@
{
{
"to": {
"emails": [ "word@bgjkcsqy.wecom.work", "jyan1@tiyantest.wang" ],
"userids": [ "william" ]
@@ -57,5 +57,6 @@
"meeting_admins": {
"userids": [ "zoro" ]
}
}
},
"enable_id_trans": 1
}