zhizhi/node_modules/dingtalk-jsapi/api/biz/file/downloadFile.d.ts

23 lines
591 B
TypeScript
Raw Normal View History

import { ICommonAPIParams } from '../../../constant/types';
/**
*
* @apiName biz.file.downloadFile
*/
export interface IBizFileDownloadFileParams extends ICommonAPIParams {
url: string;
header?: {};
}
/**
*
* @apiName biz.file.downloadFile
*/
export interface IBizFileDownloadFileResult {
filePath: string;
}
/**
*
* @apiName biz.file.downloadFile
*/
export declare function downloadFile$(params: IBizFileDownloadFileParams): Promise<IBizFileDownloadFileResult>;
export default downloadFile$;