public class UrlPreview extends Object
| 构造器和说明 |
|---|
UrlPreview(Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchUpdateUrlPreviewResp |
batchUpdate(BatchUpdateUrlPreviewReq req)
更新 URL 预览,该接口用于主动更新 [URL
预览](https://open.feishu.cn/document/uAjLw4CM/ukzMukzMukzM/development-link-preview/link-preview-development-guide),调用后会重新触发一次客户端拉取,需要回调服务返回更新后的数据。
|
BatchUpdateUrlPreviewResp |
batchUpdate(BatchUpdateUrlPreviewReq req,
RequestOptions reqOptions)
更新 URL 预览,该接口用于主动更新 [URL
预览](https://open.feishu.cn/document/uAjLw4CM/ukzMukzMukzM/development-link-preview/link-preview-development-guide),调用后会重新触发一次客户端拉取,需要回调服务返回更新后的数据。
|
public UrlPreview(Config config)
public BatchUpdateUrlPreviewResp batchUpdate(BatchUpdateUrlPreviewReq req, RequestOptions reqOptions) throws Exception
**注意**:更新链接预览时需要注意更新频率,如果更新时不指定用户,则可能会造成链接预览请求放大。例如,群聊中的链接预览,所有群成员均会尝试重新拉取预览请求。 ;
Exceptionpublic BatchUpdateUrlPreviewResp batchUpdate(BatchUpdateUrlPreviewReq req) throws Exception
**注意**:更新链接预览时需要注意更新频率,如果更新时不指定用户,则可能会造成链接预览请求放大。例如,群聊中的链接预览,所有群成员均会尝试重新拉取预览请求。 ;
ExceptionCopyright © 2026. All rights reserved.