- Message Display: The message list displays chat messages in a structured format, with the newest messages appearing at the bottom of the list. Each message includes the sender’s name or avatar, the message content, and a timestamp along with the read receipt indicating when the message was sent.
- Conversation History: This component provides a history of the chat conversation, allowing participants to scroll through and review past messages. It enables users to see the progression of the conversation, read previous messages, and refer back to earlier discussions.
- Pagination or Infinite Scroll: This component employs an infinite scroll to manage the display of messages dynamically loading additional messages as the user scrolls.
- Message Formatting: Chat messages within the message list can include various formatting options, such as different font styles, colors, emojis, attachments (e.g., images, files), and links.
- Interaction: The message list includes message actions like reacting to messages, editing or deleting messages.
- Scroll and Navigation: Users can scroll through the message list to view older or more recent messages. This component also provides navigation features, such as a scroll-to-bottom button and automatic scrolling to the latest messages when new messages arrive.
Properties
Chat Information
Details associated with a chat conversation or chat participants.RequestBuilder
This provides set of methods that allow developers to easily create and configure messages before fetching them for the intended recipients.Templates
This defines the structure and content of a message, including the text, media attachments (e.g., images, videos) and custom messages. It provides a consistent format that ensures uniformity in the presentation of messages across the chat application.Alignment
This refers to the positioning or arrangement of message bubbles and timestamp in the message list component.Loading state
This refers to the state of the message list component when it is actively retrieving or fetching data.Empty state
This refers to the state of the message list component when it has no content or data to displayError state
This refers to the state of the message list component when an error occurs during the retrieval of the data.Asset URLs
Custom asset URL used for graphical representationCustom view
UI component created and customised by the developer to meet your design or functional requirements.Date Pattern
This refers to a specific format to represent dates in a human-readable formFormatters
Array of formattersToggle
Switch to hide or show the error state, read receipt and scroll to bottom.Sound
This refers to the action of activating or allowing the audio or sound capabilities of the message list component.Function Callback
Functions that can be invoked by the user in response to a specific event or condition.Misc
Configurations
Properties of the child components like conversations and messages that are available for customisation.Style
Styling properties and values of all the child componentsUsage
- main.ts
- App.vue