MessagesScreen
Default root Messages screen component, that provides the necessary ViewModels and connects all the data handling operations, as well as some basic actions, like back pressed handling.
Because this screen can be shown only if there is an active/selected Channel, the user must provide a viewModelFactory that contains the channel ID, in order to load up all the data. Otherwise, we can't show the UI.
Parameters
The factory used to build ViewModels and power the behavior. You can customize the behavior of the list through its parameters. For default behavior, simply create an instance and pass in just the channel ID and the context.
If we're showing the header or not.
The sorting type for reactions. Default is ReactionSortingByFirstReactionAt.
Handler for when the user taps on the Back button and/or the system back button.
Handler for when the user taps on the header section.
Handler called when the user taps on the channel avatar.
Handler when users avatar is clicked.
If new messages should skip triggering a push notification when sent. False by default.
If new messages being sent, or existing ones being updated should skip enriching the URL. If URL is not enriched, it will not be displayed as a link attachment. False by default.
If the user avatar should be shown on comments for polls with anonymous voting visibility.
Thread messages start at the bottom or top of the screen.
custom top bar content to be displayed on top of the messages list.
custom bottom bar content to be displayed at the bottom of the messages list. Default: ThreadMessagesStart.BOTTOM.