Table of Contents

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 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>