Skip to content

Commit b2da18c

Browse files
authored
feat(APIUnfurledMediaItem): add attachment_id (#1273)
1 parent 9ae89dd commit b2da18c

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

deno/payloads/v10/channel.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/payloads/v9/channel.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

payloads/v10/channel.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,6 +2132,10 @@ export interface APIUnfurledMediaItem {
21322132
content_type?: string | null;
21332133
loading_state?: UnfurledMediaItemLoadingState;
21342134
flags?: number;
2135+
/**
2136+
* The id of the uploaded attachment. This field is ignored and provided by the API as part of the response
2137+
*/
2138+
attachment_id?: Snowflake;
21352139
}
21362140

21372141
/**

payloads/v9/channel.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,6 +2129,10 @@ export interface APIUnfurledMediaItem {
21292129
content_type?: string | null;
21302130
loading_state?: UnfurledMediaItemLoadingState;
21312131
flags?: number;
2132+
/**
2133+
* The id of the uploaded attachment. This field is ignored and provided by the API as part of the response
2134+
*/
2135+
attachment_id?: Snowflake;
21322136
}
21332137

21342138
/**

0 commit comments

Comments
 (0)