feat(types): add defaultAutoArchiveDuration field to Channel (#1043)

This commit is contained in:
rigormorrtiss
2021-06-15 12:55:58 +04:00
committed by GitHub
parent 7e1e815ee0
commit c1ffa6b5f5
+2
View File
@@ -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;
}