| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ListChat.Builder |
avatar(String avatar)
群头像 URL
示例值:https://p3-lark-file.byteimg.com/img/lark-avatar-staging/default-avatar_44ae0ca3-e140-494b-956f-78091e348435~100x100.jpg
|
ListChat |
build() |
ListChat.Builder |
chatId(String chatId)
群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description)
示例值:oc_a0553eda9014c201e6969b478895c230
|
ListChat.Builder |
chatStatus(ListChatChatStatusTypeEnum chatStatus)
群状态
示例值:normal
|
ListChat.Builder |
chatStatus(String chatStatus)
群状态
示例值:normal
|
ListChat.Builder |
description(String description)
群描述
示例值:测试群描述
|
ListChat.Builder |
external(Boolean external)
是否是外部群
示例值:false
|
ListChat.Builder |
labels(String[] labels)
群标签
示例值:
|
ListChat.Builder |
name(String name)
群名称
示例值:测试群名称
|
ListChat.Builder |
ownerId(String ownerId)
群主 ID
示例值:4d7a3c6g
|
ListChat.Builder |
ownerIdType(String ownerIdType)
群主 ID 类型
示例值:user_id
|
ListChat.Builder |
tenantKey(String tenantKey)
租户Key,为租户在飞书上的唯一标识,用来换取对应的tenant_access_token,也可以用作租户在应用中的唯一标识
示例值:736588c9260f175e
|
public ListChat.Builder chatId(String chatId)
示例值:oc_a0553eda9014c201e6969b478895c230
chatId - public ListChat.Builder avatar(String avatar)
示例值:https://p3-lark-file.byteimg.com/img/lark-avatar-staging/default-avatar_44ae0ca3-e140-494b-956f-78091e348435~100x100.jpg
avatar - public ListChat.Builder name(String name)
示例值:测试群名称
name - public ListChat.Builder description(String description)
示例值:测试群描述
description - public ListChat.Builder ownerId(String ownerId)
示例值:4d7a3c6g
ownerId - public ListChat.Builder ownerIdType(String ownerIdType)
示例值:user_id
ownerIdType - public ListChat.Builder external(Boolean external)
示例值:false
external - public ListChat.Builder tenantKey(String tenantKey)
示例值:736588c9260f175e
tenantKey - public ListChat.Builder labels(String[] labels)
示例值:
labels - public ListChat.Builder chatStatus(String chatStatus)
示例值:normal
chatStatus - public ListChat.Builder chatStatus(ListChatChatStatusTypeEnum chatStatus)
示例值:normal
chatStatus - ListChatChatStatusTypeEnumpublic ListChat build()
Copyright © 2025. All rights reserved.