Skip to content

rtk-chat-selector-ui

Last updated View as MarkdownAgent setup

Properties

Property Type Required Default Description
groups ChatGroup[] ✅ - Participants
iconPack IconPack1 ❌ defaultIconPack Icon pack
selectedGroupId string ✅ - Selected participant
selfUserId string ✅ - Self User ID
t RtkI18n ❌ useLanguage() Language
unreadCounts Record<string, number> ✅ - Unread counts

Usage Examples

Basic Usage

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

With Properties

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

Was this helpful?