Table of Contents

Method WithAutoArchiveDuration

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

WithAutoArchiveDuration(DiscordAutoArchiveDuration)

Sets the auto archive duration for the post.

public ForumPostBuilder WithAutoArchiveDuration(DiscordAutoArchiveDuration autoArchiveDuration)

Parameters

autoArchiveDuration DiscordAutoArchiveDuration

The duration in which the post will automatically archive

Returns

ForumPostBuilder

The builder to chain calls with