Chat
Chat Room, Participants, and Messages
A ChatRoom
represents a publishing reference for all of its participants
. It can contain multiple unique participants
w/c are privileged to publish/post/create ChatMessages
in it.
Creating a Chat Room
Creating a ChatRoom
will require at least 1 participant other than the creator of the ChatRoom
(creator will be added on the list of patricipants
). If there is an existing ChatRoom
with the same exact participants
, it will be returned instead of creating a new one.
A ChatRoom
can be created either by using the chat-rooms
API's create
method.
Retrieving Chat Rooms
Only ChatRoom
s a user is participating in will be viewable/accessible to that user.
Writing a Chat Message
To create/post a message to a chat room, use the chat-messages
API's create
method.