Chat Members

Version: 1.0.0
chat/members
superface

Retrieve members of the workspace.

Get workspace members

Retrieve paginated list of members

Workspace
Limit
Page
Members
Next Page
Rate Limit

1. Install

npx @superfaceai/cli install chat/members

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');

const sdk = new SuperfaceClient();

async function run() {
  // Load the installed profile
  const profile = await sdk.getProfile('chat/members');

  // Use the profile
  const result = await profile
    .getUseCase('GetMembers')
    .perform({
      workspace: '877903817948147752',
      limit: 2
    });

  return result.unwrap();
}

run();

3. Add providers