Complete chat conversation interfaceThe AmityChatPage serves as the main component for displaying and interacting with individual chat conversations in your application.
Required Parameters
Parameter | Type | Description |
---|---|---|
channelId | String | Unique identifier for the chat channel |
userId | String | Current user’s unique identifier |
userDisplayName | String | Display name for the current user |
avatarUrl | String | URL for the user’s avatar image |
Features
Feature | Description |
---|---|
Conversation View | Complete chat interface with message history and input controls |
Channel Management | Mute/unmute toggle and conversation settings |
Network Awareness | Offline mode indication and automatic reconnection |
Message Organization | Chronological display with date separators |
Code Examples
Important Note: The AmityChatPage automatically handles message loading, real-time updates, and user interactions.