Skip to content

Commit

Permalink
feat(APIThreadMetadata): add create_timestamp field (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Jan 19, 2022
1 parent 4194bd9 commit d95d956
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deno/payloads/v9/channel.ts
Expand Up @@ -707,6 +707,10 @@ export interface APIThreadMetadata {
* Whether non-moderators can add other non-moderators to the thread; only available on private threads
*/
invitable?: boolean;
/**
* Timestamp when the thread was created; only populated for threads created after 2022-01-09
*/
create_timestamp?: string;
}

export enum ThreadAutoArchiveDuration {
Expand Down
4 changes: 4 additions & 0 deletions payloads/v9/channel.ts
Expand Up @@ -707,6 +707,10 @@ export interface APIThreadMetadata {
* Whether non-moderators can add other non-moderators to the thread; only available on private threads
*/
invitable?: boolean;
/**
* Timestamp when the thread was created; only populated for threads created after 2022-01-09
*/
create_timestamp?: string;
}

export const enum ThreadAutoArchiveDuration {
Expand Down

0 comments on commit d95d956

Please sign in to comment.