logo
In-app Chat Kit
On this page

Conversation component

The conversation component of the In-app Chat Kit provides the chat list and chat features.

Note
The Conversation component has already integrated the Message component. If you don't need the conversation list, you can directly use the Message component.
  • Chat list: Allow you to view the data of your chat list and support automatic update of the chat list based on chat messages.
  • Chat: Create one-on-one chats and group chats.

Integrate the conversation component into your project

Prerequisites

Integrate the In-app Chat Kit SDK into your project (finished the initialization and login are required). For more information, see Quick start.

Add the conversation component

In the file that needs to use the conversation component, import the ConversationList component.

Untitled
import { View } from 'react-native';
import { ConversationList } from '@zegocloud/zimkit-rn';

// your App.js
export default function App() {
    return (
        <View style={{flex: 1}}>
            <ConversationList></ConversationList>
        </View>
    );
}
1
Copied!

Customize features/UI

If the default conversation-relevant features, behaviors or UI don't fully meet your needs, we allow you to flexibly customize those through the parameters provided by the ConversationList mentioned in this section.

The usage of commonly used parameters is as follows: