From c1ffa6b5f5819a8361e3df653944ef735ece9bcf Mon Sep 17 00:00:00 2001 From: rigormorrtiss Date: Tue, 15 Jun 2021 12:55:58 +0400 Subject: [PATCH] feat(types): add defaultAutoArchiveDuration field to Channel (#1043) --- src/types/channels/channel.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/channels/channel.ts b/src/types/channels/channel.ts index ceda62144..e672ac298 100644 --- a/src/types/channels/channel.ts +++ b/src/types/channels/channel.ts @@ -56,4 +56,6 @@ export interface Channel { threadMetadata?: ThreadMetadata; /** Thread member object for the current user, if they have joined the thread, only included on certain API endpoints */ member?: ThreadMember; + /** Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080 */ + defaultAutoArchiveDuration?: number; }