public val currentMessagesState: MessagesState get() = if (isInThread) threadMessagesState else messagesState
State handler for the UI, which holds all the information the UI needs to render messages. It chooses between [threadMessagesState] and [messagesState] based on if we're in a thread or not.