类 Chat.Builder

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

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

    • Builder

      public Builder()
  • 方法详细资料

    • chatId

      public Chat.Builder chatId(String chatId)
      chat_id of the conversation

      示例值:

      参数:
      chatId -
      返回:
    • avatar

      public Chat.Builder avatar(String avatar)
      avatar of the conversation

      示例值:

      参数:
      avatar -
      返回:
    • name

      public Chat.Builder name(String name)
      name of the conversation

      示例值:

      参数:
      name -
      返回:
    • description

      public Chat.Builder description(String description)
      description of the conversation

      示例值:

      参数:
      description -
      返回:
    • i18nNames

      public Chat.Builder i18nNames(I18nNames i18nNames)
      i18_names of the conversation

      示例值:

      参数:
      i18nNames -
      返回:
    • onlyOwnerAdd

      public Chat.Builder onlyOwnerAdd(Boolean onlyOwnerAdd)
      whether only the owner of the converation can add others

      示例值:

      参数:
      onlyOwnerAdd -
      返回:
    • shareAllowed

      public Chat.Builder shareAllowed(Boolean shareAllowed)
      whether the converation can be shared

      示例值:

      参数:
      shareAllowed -
      返回:
    • onlyOwnerAtAll

      public Chat.Builder onlyOwnerAtAll(Boolean onlyOwnerAtAll)
      whether only the owner of the converation can @all

      示例值:

      参数:
      onlyOwnerAtAll -
      返回:
    • onlyOwnerEdit

      public Chat.Builder onlyOwnerEdit(Boolean onlyOwnerEdit)
      whether only the owner of the converation can edit the converation info

      示例值:

      参数:
      onlyOwnerEdit -
      返回:
    • ownerUserId

      public Chat.Builder ownerUserId(String ownerUserId)
      owner_id

      示例值:

      参数:
      ownerUserId -
      返回:
    • type

      public Chat.Builder type(String type)
      type

      示例值:

      参数:
      type -
      返回:
    • build

      public Chat build()