跳转到内容
搜索文档

rtk-chat-selector-ui

最后更新 查看 MarkdownAgent 设置

属性

属性 类型 是否必填 默认值 描述
groups ChatGroup[] - 参会者
iconPack IconPack1 defaultIconPack 图标包
selectedGroupId string - 选中的参会者
selfUserId string - 自己的用户 ID
t RtkI18n useLanguage() 语言
unreadCounts Record<string, number> - 未读消息数

使用示例

基本用法

<!-- component.html -->
<rtk-chat-selector-ui></rtk-chat-selector-ui>

带有属性

<!-- component.html -->
<rtk-chat-selector-ui
 [groups]="[]"
 selectedGroupId="example"
 selfUserId="example">
</rtk-chat-selector-ui>

这篇文档对您有帮助吗?