Function: getThread()
ts
function getThread(
client,
threadId,
options?
): Promise<Page<{
[key: string]: unknown;
item_id?: string;
item_type?: string;
text?: string;
timestamp?: string;
user_id?: string;
}>>;One page of a thread's messages (newest first). Pass cursor to continue.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
threadId | string |
options? | CursorOptions |
Returns
Promise<Page<{ [key: string]: unknown; item_id?: string; item_type?: string; text?: string; timestamp?: string; user_id?: string; }>>