StartThreadBuilder

constructor(name: String, type: ChannelType)(source)


constructor(name: String, autoArchiveDuration: ArchiveDuration, type: ChannelType)(source)

Deprecated (with error)

'autoArchiveDuration' is no longer required, use other constructor instead.

Replace with

import dev.kord.rest.builder.channel.thread.StartThreadBuilder
StartThreadBuilder(name, type).apply { this@apply.autoArchiveDuration = autoArchiveDuration }