interface GuildTextThreadCreateOptions
extends
StartThreadOptionsexport interface GuildTextThreadCreateOptions<AllowedThreadType> extends StartThreadOptionsOptions for creating a thread. Only one of startMessage or type can be defined.
Type Parameters
AllowedThreadType
optionalautoArchiveDuration? : ThreadAutoArchiveDuration = this.channel.defaultAutoArchiveDuration
The amount oftime after which the thread should automatically archive in case of no recent activity
Inherited from: StartThreadOptions
optionalinvitable? : AllowedThreadType extends ChannelType.PrivateThread ? boolean : never
Whether non-moderators can add other non-moderators to the threadCan only be set when type will be ChannelType.PrivateThread
optionalrateLimitPerUser? : number
The rate limit per user (slowmode) for the thread in seconds
Inherited from: StartThreadOptions
optionalstartMessage? : MessageResolvable
The message to start a thread from.If this is defined, then the type of thread gets inferred automatically and cannot be changed.
optionaltype? : AllowedThreadType
The type of thread to create.Defaults to ChannelType.PublicThread if created in a TextChannelWhen creating threads in a AnnouncementChannel, this is ignored and is alwaysChannelType.AnnouncementThread