ScrollToFirstUnreadButtonParams
data class ScrollToFirstUnreadButtonParams(val visible: Boolean, val unreadCount: Int, val onClick: () -> Unit, val onDismiss: () -> Unit, val modifier: Modifier = Modifier)
Parameters for ChatComponentFactory.ScrollToFirstUnreadButton.
Parameters
visible
Whether the pill is visible.
unreadCount
The number of unread messages to display in the pill label.
onClick
Action invoked when the pill body is clicked. Implementations should scroll the list to the first unread message.
onDismiss
Action invoked when the close (X) affordance is clicked. Implementations should hide the pill without scrolling.
modifier
Modifier for styling.