Method ListPrivateArchivedThreadAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
ListPrivateArchivedThreadAsync(ulong, ulong, DateTimeOffset?, int)
Gets the threads that are public and archived for a channel.
public Task<ThreadQueryResult> ListPrivateArchivedThreadAsync(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.
Returns
- Task<ThreadQueryResult>