withUserMessage

fun withUserMessage(text: String, attachments: List<Attachment> = emptyList()): TeamState

Returns this state with text and its attachments added as the user's next message, to continue the conversation.