类 MyAiResponsePresent.Builder

java.lang.Object
com.lark.oapi.service.vc.v1.model.MyAiResponsePresent.Builder
封闭类:
MyAiResponsePresent

public static class MyAiResponsePresent.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • type

      public MyAiResponsePresent.Builder type(String type)
      类型

      示例值:2

      参数:
      type -
      返回:
    • body

      public MyAiResponsePresent.Builder body(String body)
      透传消息体

      示例值:json字符串

      参数:
      body -
      返回:
    • interactable

      public MyAiResponsePresent.Builder interactable(Boolean interactable)
      是否可交互

      示例值:true

      参数:
      interactable -
      返回:
    • operationType

      public MyAiResponsePresent.Builder operationType(String operationType)
      tool对卡片交互的响应

      示例值:update

      参数:
      operationType -
      返回:
    • operationUrl

      public MyAiResponsePresent.Builder operationUrl(String operationUrl)
      卡片后续链路交互的请求地址

      示例值:https://open.feishu-boe.cn/open-apis/lark_ai/operation

      参数:
      operationUrl -
      返回:
    • callbackUrl

      public MyAiResponsePresent.Builder callbackUrl(String callbackUrl)
      透传数据上屏后,回调业务方的url;支持Open API 与 rpc 两种方式。由业务方提供。

      示例值:https://open.feishu-boe.cn/open-apis/lark_ai/callback

      参数:
      callbackUrl -
      返回:
    • callbackInfo

      public MyAiResponsePresent.Builder callbackInfo(String callbackInfo)
      回调信息

      示例值:call back raw data

      参数:
      callbackInfo -
      返回:
    • build

      public MyAiResponsePresent build()