messagesthat is initially empty. It has a function
invitethat adds another user to the
_ownersarray thereby giving them write access (only the creator has write access initially). Once invited a user can call
postto send a message to the chat and invite other users.
state. The token has a function
setStateto update the state and a function
sendto assign a new owner.