interface GuildTextThreadCreateOptions
extends
StartThreadOptionsexport interface GuildTextThreadCreateOptions<AllowedThreadType> extends StartThreadOptions
Options for creating a thread. Only one of startMessage
or type
can be defined.
Type Parameters
AllowedThreadType
optionalThreadAutoArchiveDuration autoArchiveDuration? :
The amount of time after which the thread should automatically archive in case of no recent activity (default: this.channel.defaultAutoArchiveDuration)
Inherited from: StartThreadOptions
optionalAllowedThreadType extends ChannelType.PrivateThread ? boolean : never invitable? :
Whether non-moderators can add other non-moderators to the thread Can only be set when type will be ChannelType
optionalnumber rateLimitPerUser? :
The rate limit per user (slowmode) for the thread in seconds
Inherited from: StartThreadOptions
optionalMessageResolvable startMessage? :
The message to start a thread from. If this is defined, then the type
of thread gets inferred automatically and cannot be changed.
The type of thread to create. Defaults to ChannelType if created in a TextChannel When creating threads in a NewsChannel, this is ignored and is always ChannelType