类 Sender.Builder

java.lang.Object
com.lark.oapi.service.im.v1.model.Sender.Builder
封闭类:
Sender

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

    • Builder

      public Builder()
  • 方法详细资料

    • id

      public Sender.Builder id(String id)
      该字段标识发送者的id

      示例值:cli_9f427eec54ae901b

      参数:
      id -
      返回:
    • idType

      public Sender.Builder idType(String idType)
      该字段标识发送者的id类型;;**可选值有:**;- `open_id`;- `app_id`

      示例值:app_id

      参数:
      idType -
      返回:
    • senderType

      public Sender.Builder senderType(String senderType)
      该字段标识发送者的类型;;**可选值有:**;- `user`: 用户;- `app`: 应用;- `anonymous`: 匿名;- `unknown`: 未知

      示例值:app

      参数:
      senderType -
      返回:
    • tenantKey

      public Sender.Builder tenantKey(String tenantKey)
      为租户在飞书上的唯一标识,用来换取对应的tenant_access_token,也可以用作租户在应用里面的唯一标识

      示例值:736588c9260f175e

      参数:
      tenantKey -
      返回:
    • build

      public Sender build()