Class ThreadListSyncEventArgs
Represents arguments for ThreadListSynced event.
Namespace: DisCatSharp.EventArgs
Assembly: DisCatSharp.dll
Syntax
public class ThreadListSyncEventArgs : DiscordEventArgs
Properties
| Improve this Doc View SourceChannels
Gets the parent channels whose threads are being synced. If empty, then threads are synced for the guild. May contain channels that have no active threads as well.
Declaration
public IReadOnlyList<DiscordChannel> Channels { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordChannel> |
Guild
Gets the guild being synced.
Declaration
public DiscordGuild Guild { get; }
Property Value
Type | Description |
---|---|
DiscordGuild |
Members
Gets all thread member objects from the synced threads for the current user, indicating which threads the current user has been added to
Declaration
public IReadOnlyList<DiscordThreadChannelMember> Members { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordThreadChannelMember> |
Threads
Gets all active threads in the given channels that the current user can access.
Declaration
public IReadOnlyList<DiscordThreadChannel> Threads { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordThreadChannel> |