This commit is contained in:
ITOH
2021-05-01 23:37:19 +02:00
parent 8a974511c9
commit 95fdb6b064
2 changed files with 0 additions and 22 deletions

View File

@@ -1,10 +0,0 @@
export interface ThreadMember {
/** The id of the thread */
id: string;
/** The id of the user */
userId: string;
/** The time the current user last joined the thread */
joinTimestamp: string;
/** Any user-thread settings, currently only used for notifications */
flags: number;
}

View File

@@ -1,12 +0,0 @@
export interface ThreadMetadata {
/** Whether the thread is archived */
archived: boolean;
/** Id of the user that last archived or unarchived the thread */
archiverId?: string;
/** Duration in minutes to automatically archive the thread after recent activity */
autoArchiveDuration: 60 | 1440 | 4320 | 10080;
/** Timestamp when the thread's archive status was last changed, used for calculating recent activity */
archiveTimestamp: string;
/** When a thread is locked, only users with `MANAGE_THREADS` can unarchive it */
locked?: boolean;
}