forums.findAll()
Retrieves all forums that the user belongs to, across all organizations.
Definition
client.forums.findAll():Promise<Group,Error>
Returns
Once the returned Promise
is resolved, you will have access to an array of forums, which are Group objects.
Example
const forums = await client.forums.findAll();console.log('found forums:', forums.map(({ displayName }) => displayName));