feat(work): 会话内容存档支持会议邀请消息和会议控制消息

This commit is contained in:
Fu Diwei 2023-12-02 17:22:59 +08:00
parent 69d426e564
commit d2ba39fbaa

View File

@ -617,11 +617,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance.Models.Abstractions
public class InfoMessage : ChatMessageBase public class InfoMessage : ChatMessageBase
{ {
/// <summary> /// <summary>
/// 获取或设置 Markdown 内容。 /// 获取或设置内容。
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("content")] [Newtonsoft.Json.JsonProperty("content")]
[System.Text.Json.Serialization.JsonPropertyName("content")] [System.Text.Json.Serialization.JsonPropertyName("content")]
public string? MarkdownContent { get; set; } public string? Content { get; set; }
/// <summary> /// <summary>
/// 获取或设置图文消息链接。 /// 获取或设置图文消息链接。
@ -664,6 +664,21 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance.Models.Abstractions
[Newtonsoft.Json.JsonProperty("filename")] [Newtonsoft.Json.JsonProperty("filename")]
[System.Text.Json.Serialization.JsonPropertyName("filename")] [System.Text.Json.Serialization.JsonPropertyName("filename")]
public string? WedriveFileName { get; set; } public string? WedriveFileName { get; set; }
/// <summary>
/// 获取或设置会议类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("meeting_id")]
[System.Text.Json.Serialization.JsonPropertyName("meeting_id")]
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
public long? MeetingId { get; set; }
/// <summary>
/// 获取或设置通知类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("notification_type")]
[System.Text.Json.Serialization.JsonPropertyName("notification_type")]
public int? NotificationType { get; set; }
} }
public class CalendarMessage : ChatMessageBase public class CalendarMessage : ChatMessageBase