createConversation
Creates a new conversation
with a set of recipients
to whom messages will be sent.
How to use?
const res = await orbis.createConversation(options);
Parameters
options
- object which contains details of the conversationrecipients
-array
Array of dids that should be part of the conversationname
-string
optional
Name of the conversationdescription
-string
optional
Description of the conversationcontext
-string
optional
Can be used to group conversations
Returns
{
status: 200,
doc: "kjzl6cwe1...e4wvxhiqj",
result: "Success creating TileDocument."
}