MessageList
component renders the list of messages in the current Webchat conversation.
MessageList
component’s props are optional, you need to send the messages prop to display messages.true
, a typing indicator bubble is displayed at the end of
the message list.'outgoing'
) and bot ('incoming'
) messages, as well as system ('system'
)
messages.MessageList
component, you need to handle the creation of this array yourself. Copy the code example on this page for a working implementation.sendMessage
is required if your want to use the Button
, Dropdown
or any input message types.true
.