public static class MyAiPresent.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
MyAiPresent.Builder |
body(String body)
response body
示例值:{}
|
MyAiPresent |
build() |
MyAiPresent.Builder |
callbackInfo(String callbackInfo)
approval context
示例值:"{\"session_id\":\"11111\"}"
|
MyAiPresent.Builder |
callbackUrl(String callbackUrl)
msg callback url
示例值:https://open.......
|
MyAiPresent.Builder |
cardTemplateId(String cardTemplateId)
template ID
示例值:default
|
MyAiPresent.Builder |
cardVariables(MyAiPresentCardVariables cardVariables)
卡片变量
示例值:
|
MyAiPresent.Builder |
interactable(Boolean interactable)
interactable
示例值:true false
|
MyAiPresent.Builder |
operationType(String operationType)
operation_type
示例值:operation_type
|
MyAiPresent.Builder |
operationUrl(String operationUrl)
operation_url
示例值:https://open-boe.feichu.com
|
MyAiPresent.Builder |
type(String type)
present type
示例值:rich_text
|
public MyAiPresent.Builder type(String type)
示例值:rich_text
type - public MyAiPresent.Builder body(String body)
示例值:{}
body - public MyAiPresent.Builder callbackUrl(String callbackUrl)
示例值:https://open......./myai/message_callback
callbackUrl - public MyAiPresent.Builder callbackInfo(String callbackInfo)
示例值:"{\"session_id\":\"11111\"}"
callbackInfo - public MyAiPresent.Builder cardTemplateId(String cardTemplateId)
示例值:default
cardTemplateId - public MyAiPresent.Builder cardVariables(MyAiPresentCardVariables cardVariables)
示例值:
cardVariables - public MyAiPresent.Builder interactable(Boolean interactable)
示例值:true false
interactable - public MyAiPresent.Builder operationType(String operationType)
示例值:operation_type
operationType - public MyAiPresent.Builder operationUrl(String operationUrl)
示例值:https://open-boe.feichu.com
operationUrl - public MyAiPresent build()
Copyright © 2025. All rights reserved.