0.6.0 master

Cascara

Chat

Public API

WARNING! This is an alpha release so we can try to get this code in and working to kick the tires.

messages

This is an array of objects used to tell Chat what to display. The type prop must match one of the Chat component types. Messages will display in the order which they are passed so make sure you reverse the order if your initial array of messages shows the latest message first in your array.

Chat Messages

sessionUserID

This needs to match one of the keys in the users object

users

The users object keys should be user IDs. These will be used to match the user information with the ID of each user message.