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
DiscordAutoArchiveDurationThe duration in which the post will automatically archive
Returns
- ForumPostBuilder
The builder to chain calls with