SDK Reference
Methods
CreateConversation

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 conversation
    • recipients - array Array of dids that should be part of the conversation
    • name - string optional Name of the conversation
    • description - string optional Description of the conversation
    • context - string optional Can be used to group conversations

Returns

{
  status: 200,
  doc: "kjzl6cwe1...e4wvxhiqj",
  result: "Success creating TileDocument."
}