using Newtonsoft.Json; using System; namespace Discord.API { internal class ThreadMetadata { [JsonProperty("archived")] public bool Archived { get; set; } [JsonProperty("auto_archive_duration")] public ThreadArchiveDuration AutoArchiveDuration { get; set; } [JsonProperty("archive_timestamp")] public DateTimeOffset ArchiveTimestamp { get; set; } [JsonProperty("locked")] public Optional Locked { get; set; } [JsonProperty("invitable")] public Optional Invitable { get; set; } [JsonProperty("create_timestamp")] public Optional CreatedAt { get; set; } } }