Method ListPublicArchivedThreadsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
ListPublicArchivedThreadsAsync(ulong, ulong, DateTimeOffset?, int)
Gets the threads that are public and archived for a channel.
public Task<ThreadQueryResult> ListPublicArchivedThreadsAsync(ulong guildId, ulong channelId, DateTimeOffset? before = null, int limit = 0)
Parameters
guildId
ulongThe ID of the guild.
channelId
ulongThe ID of the channel.
before
DateTimeOffset?Date to filter by.
limit
intLimit.