orbis.setGroupMember()

Will get users to join / leave an Orbis group.

How to use?

let res = await orbis.setGroupMember("kjzl6cwe1...e4wvxhiqj", true);

Parameters

  • group_id: string ID of the group being joined
  • active: boolean true if the user is joining the group, false if leaving

Returns

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

Next steps

Explore other parts of the API.

orbis.createChannel()

orbis.createConversation()