feat(APIUnfurledMediaItem): add attachment_id (#1273)

This commit is contained in:
Danial Raza
2025-06-14 16:44:06 +02:00
committed by GitHub
parent 9ae89dd9d8
commit b2da18c634
4 changed files with 16 additions and 0 deletions

View File

@@ -2132,6 +2132,10 @@ export interface APIUnfurledMediaItem {
content_type?: string | null;
loading_state?: UnfurledMediaItemLoadingState;
flags?: number;
/**
* The id of the uploaded attachment. This field is ignored and provided by the API as part of the response
*/
attachment_id?: Snowflake;
}
/**

View File

@@ -2129,6 +2129,10 @@ export interface APIUnfurledMediaItem {
content_type?: string | null;
loading_state?: UnfurledMediaItemLoadingState;
flags?: number;
/**
* The id of the uploaded attachment. This field is ignored and provided by the API as part of the response
*/
attachment_id?: Snowflake;
}
/**

View File

@@ -2132,6 +2132,10 @@ export interface APIUnfurledMediaItem {
content_type?: string | null;
loading_state?: UnfurledMediaItemLoadingState;
flags?: number;
/**
* The id of the uploaded attachment. This field is ignored and provided by the API as part of the response
*/
attachment_id?: Snowflake;
}
/**

View File

@@ -2129,6 +2129,10 @@ export interface APIUnfurledMediaItem {
content_type?: string | null;
loading_state?: UnfurledMediaItemLoadingState;
flags?: number;
/**
* The id of the uploaded attachment. This field is ignored and provided by the API as part of the response
*/
attachment_id?: Snowflake;
}
/**