public class File extends Object
File(Config config)
DownloadFileResp
download(DownloadFileReq req)
download(DownloadFileReq req, RequestOptions reqOptions)
UploadFileResp
upload(UploadFileReq req)
upload(UploadFileReq req, RequestOptions reqOptions)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public File(Config config)
public DownloadFileResp download(DownloadFileReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=download&project=lingo&resource=file&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/lingov1/DownloadFileSample.java ;
Exception
public DownloadFileResp download(DownloadFileReq req) throws Exception
public UploadFileResp upload(UploadFileReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=upload&project=lingo&resource=file&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/lingov1/UploadFileSample.java ;
public UploadFileResp upload(UploadFileReq req) throws Exception
Copyright © 2024. All rights reserved.