public class Attachment extends Object
Attachment(Config config)
DeleteAttachmentResp
delete(DeleteAttachmentReq req)
delete(DeleteAttachmentReq req, RequestOptions reqOptions)
GetAttachmentResp
get(GetAttachmentReq req)
get(GetAttachmentReq req, RequestOptions reqOptions)
ListAttachmentResp
list(ListAttachmentReq req)
list(ListAttachmentReq req, RequestOptions reqOptions)
UploadAttachmentResp
upload(UploadAttachmentReq req)
upload(UploadAttachmentReq req, RequestOptions reqOptions)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Attachment(Config config)
public DeleteAttachmentResp delete(DeleteAttachmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=task&resource=attachment&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/taskv2/DeleteAttachmentSample.java ;
Exception
public DeleteAttachmentResp delete(DeleteAttachmentReq req) throws Exception
public GetAttachmentResp get(GetAttachmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=task&resource=attachment&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/taskv2/GetAttachmentSample.java ;
public GetAttachmentResp get(GetAttachmentReq req) throws Exception
public ListAttachmentResp list(ListAttachmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=task&resource=attachment&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/taskv2/ListAttachmentSample.java ;
public ListAttachmentResp list(ListAttachmentReq req) throws Exception
public UploadAttachmentResp upload(UploadAttachmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=upload&project=task&resource=attachment&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/taskv2/UploadAttachmentSample.java ;
public UploadAttachmentResp upload(UploadAttachmentReq req) throws Exception
Copyright © 2025. All rights reserved.