public static class MyAiResponsePresent.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
MyAiResponsePresent.Builder |
body(String body)
透传消息体
示例值:json字符串
|
MyAiResponsePresent |
build() |
MyAiResponsePresent.Builder |
interactable(Boolean interactable)
是否可交互
示例值:true
|
MyAiResponsePresent.Builder |
operationType(String operationType)
tool对卡片交互的响应
示例值:update
|
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 build()
Copyright © 2024. All rights reserved.