Skip to content

Commit 3de4ca8

Browse files
authored
feat(APIMessageSnapshotFields): add more fields (#1085)
1 parent 8f78190 commit 3de4ca8

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

deno/payloads/v10/channel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,12 +1987,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
19871987
export type APIMessageSnapshotFields = Pick<
19881988
APIMessage,
19891989
| 'attachments'
1990+
| 'components'
19901991
| 'content'
19911992
| 'edited_timestamp'
19921993
| 'embeds'
19931994
| 'flags'
19941995
| 'mention_roles'
19951996
| 'mentions'
1997+
| 'sticker_items'
1998+
| 'stickers'
19961999
| 'timestamp'
19972000
| 'type'
19982001
>;

deno/payloads/v9/channel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,12 +1954,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
19541954
export type APIMessageSnapshotFields = Pick<
19551955
APIMessage,
19561956
| 'attachments'
1957+
| 'components'
19571958
| 'content'
19581959
| 'edited_timestamp'
19591960
| 'embeds'
19601961
| 'flags'
19611962
| 'mention_roles'
19621963
| 'mentions'
1964+
| 'sticker_items'
1965+
| 'stickers'
19631966
| 'timestamp'
19641967
| 'type'
19651968
>;

payloads/v10/channel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,12 +1987,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
19871987
export type APIMessageSnapshotFields = Pick<
19881988
APIMessage,
19891989
| 'attachments'
1990+
| 'components'
19901991
| 'content'
19911992
| 'edited_timestamp'
19921993
| 'embeds'
19931994
| 'flags'
19941995
| 'mention_roles'
19951996
| 'mentions'
1997+
| 'sticker_items'
1998+
| 'stickers'
19961999
| 'timestamp'
19972000
| 'type'
19982001
>;

payloads/v9/channel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,12 +1954,15 @@ export type APIModalActionRowComponent = APITextInputComponent;
19541954
export type APIMessageSnapshotFields = Pick<
19551955
APIMessage,
19561956
| 'attachments'
1957+
| 'components'
19571958
| 'content'
19581959
| 'edited_timestamp'
19591960
| 'embeds'
19601961
| 'flags'
19611962
| 'mention_roles'
19621963
| 'mentions'
1964+
| 'sticker_items'
1965+
| 'stickers'
19631966
| 'timestamp'
19641967
| 'type'
19651968
>;

0 commit comments

Comments
 (0)