Skip to content

Commit

Permalink
feat(APIMessageSnapshotFields): add more fields (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx authored Sep 5, 2024
1 parent 8f78190 commit 3de4ca8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deno/payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1987,12 +1987,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
export type APIMessageSnapshotFields = Pick<
APIMessage,
| 'attachments'
| 'components'
| 'content'
| 'edited_timestamp'
| 'embeds'
| 'flags'
| 'mention_roles'
| 'mentions'
| 'sticker_items'
| 'stickers'
| 'timestamp'
| 'type'
>;
3 changes: 3 additions & 0 deletions deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1954,12 +1954,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
export type APIMessageSnapshotFields = Pick<
APIMessage,
| 'attachments'
| 'components'
| 'content'
| 'edited_timestamp'
| 'embeds'
| 'flags'
| 'mention_roles'
| 'mentions'
| 'sticker_items'
| 'stickers'
| 'timestamp'
| 'type'
>;
3 changes: 3 additions & 0 deletions payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1987,12 +1987,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
export type APIMessageSnapshotFields = Pick<
APIMessage,
| 'attachments'
| 'components'
| 'content'
| 'edited_timestamp'
| 'embeds'
| 'flags'
| 'mention_roles'
| 'mentions'
| 'sticker_items'
| 'stickers'
| 'timestamp'
| 'type'
>;
3 changes: 3 additions & 0 deletions payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1954,12 +1954,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
export type APIMessageSnapshotFields = Pick<
APIMessage,
| 'attachments'
| 'components'
| 'content'
| 'edited_timestamp'
| 'embeds'
| 'flags'
| 'mention_roles'
| 'mentions'
| 'sticker_items'
| 'stickers'
| 'timestamp'
| 'type'
>;

0 comments on commit 3de4ca8

Please sign in to comment.