getThreadList
plugin.thread.getThreadList(options: object): Promise<object>
Retrieves a list of threads with optional filtering.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
options | object | Yes | Optional filters for threads (default: {}) |
Returns
Promise<object> — A promise that resolves with the thread list response
Example
import plugin from '@codebolt/plugin-sdk';
const result = await plugin.thread.getThreadList(/* object */);
console.log(result);