MessageListViewModelFactory
Parameters
The current channel ID, to load the messages from.
The message ID to which we want to scroll to when opening the message list.
The ID of the parent Message if the message we want to scroll to is in a thread. If the message we want to scroll to is not in a thread, you can pass in a null value.
The client to use for API calls.
The current state of the SDK.
The media recorder for async voice messages.
The limit of the messages to load in a single page.
Flag to enforce unique reactions or enable multiple from the same user.
The maximum number of attachments that can be sent in a single message.
If we should show system message items in the list.
The behavior of deleted messages in the list and if they're visible or not.
The behavior of message footers in the list and their visibility.
Handler that determines when the date separators should be visible.
Handler that determines when the thread date separators should be visible.
Determines the position of the message inside a group.
Configures if we show a date separator when threads are empty. Adds the separator item when the value is true
.
Configures if we show a thread separator when threads are empty. Adds the separator item when the value is true
.
Configures if the thread should be loaded from older to newer messages.