setDefaultAutoArchiveDuration method
Sets the default auto-archive duration for the channel.
await channel.setDefaultAutoArchiveDuration(60);
Implementation
Future<void> setDefaultAutoArchiveDuration(int defaultAutoArchiveDuration,
{String? reason}) =>
_methods.setDefaultAutoArchiveDuration(
defaultAutoArchiveDuration, reason);