ThreadBuilder.privateThread constructor

ThreadBuilder.privateThread(
  1. {required String name,
  2. Duration? autoArchiveDuration,
  3. bool? invitable,
  4. Duration? rateLimitPerUser}
)

Implementation

ThreadBuilder.privateThread({required this.name, this.autoArchiveDuration, this.invitable, this.rateLimitPerUser}) : type = ChannelType.privateThread;