Skip to content

Commit

Permalink
Add deprecation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Oct 4, 2023
1 parent 7857f26 commit 1374422
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/web-api/src/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,10 @@ interface FileUpload {

export interface FilesUploadV2Arguments extends FileUploadV2, WebAPICallOptions, TokenOverridable {
file_uploads?: Omit<FileUploadV2, 'channel_id' | 'channels' | 'initial_comment' | 'thread_ts'>[];
request_file_info?: boolean; // since v7, this flag is no longer used
/**
* @deprecated Since v7, this flag is no longer used. You can safely remove it from your code.
*/
request_file_info?: boolean;
}

export type FileUploadV2 = FileUpload & {
Expand Down

0 comments on commit 1374422

Please sign in to comment.