public static class MyAiResponsePresent.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
MyAiResponsePresent.Builder |
body(String body)
透传消息体
示例值:json字符串
|
MyAiResponsePresent |
build() |
MyAiResponsePresent.Builder |
callbackInfo(String callbackInfo)
回调信息
示例值:call back raw data
|
MyAiResponsePresent.Builder |
callbackUrl(String callbackUrl)
透传数据上屏后,回调业务方的url;支持Open API 与 rpc 两种方式。
|
MyAiResponsePresent.Builder |
interactable(Boolean interactable)
是否可交互
示例值:true
|
MyAiResponsePresent.Builder |
operationType(String operationType)
tool对卡片交互的响应
示例值:update
|
MyAiResponsePresent.Builder |
operationUrl(String operationUrl)
卡片后续链路交互的请求地址
示例值:https://open.feishu-boe.cn/open-apis/lark_ai/operation
|
MyAiResponsePresent.Builder |
type(String type)
类型
示例值:2
|
public MyAiResponsePresent.Builder type(String type)
示例值:2
type - public MyAiResponsePresent.Builder body(String body)
示例值:json字符串
body - public MyAiResponsePresent.Builder interactable(Boolean interactable)
示例值:true
interactable - public MyAiResponsePresent.Builder operationType(String operationType)
示例值:update
operationType - public MyAiResponsePresent.Builder operationUrl(String operationUrl)
示例值:https://open.feishu-boe.cn/open-apis/lark_ai/operation
operationUrl - public MyAiResponsePresent.Builder callbackUrl(String callbackUrl)
示例值:https://open.feishu-boe.cn/open-apis/lark_ai/callback
callbackUrl - public MyAiResponsePresent.Builder callbackInfo(String callbackInfo)
示例值:call back raw data
callbackInfo - public MyAiResponsePresent build()
Copyright © 2024. All rights reserved.