Table of Contents

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 ulong

The ID of the guild.

channelId ulong

The ID of the channel.

before DateTimeOffset?

Date to filter by.

limit int

Limit.

Returns

Task<ThreadQueryResult>