-
-
Notifications
You must be signed in to change notification settings - Fork 318
Expand file tree
/
Copy pathThreadChannelEditModel.cs
More file actions
39 lines (31 loc) · 1.16 KB
/
Copy pathThreadChannelEditModel.cs
File metadata and controls
39 lines (31 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System.Collections.Generic;
using DSharpPlus.Entities;
namespace DSharpPlus.Net.Models;
public class ThreadChannelEditModel : ChannelEditModel
{
/// <summary>
/// Sets if the thread is archived
/// </summary>
public bool? IsArchived { internal get; set; }
/// <summary>
/// Sets AutoArchiveDuration of the thread
/// </summary>
public DiscordAutoArchiveDuration? AutoArchiveDuration { internal get; set; }
/// <summary>
/// Sets if anyone can unarchive a thread
/// </summary>
public bool? Locked { internal get; set; }
/// <summary>
/// Sets the applied tags for the thread
/// </summary>
public IEnumerable<ulong> AppliedTags { internal get; set; }
/// <summary>
/// Sets the flags for the channel (Either PINNED or REQUIRE_TAG)
/// </summary>
public new DiscordChannelFlags? Flags { internal get; set; }
/// <summary>
/// Sets whether non-moderators can add other non-moderators to a thread. Only available on private threads
/// </summary>
public bool? IsInvitable { internal get; set; }
internal ThreadChannelEditModel() { }
}