Function: getInbox()
ts
function getInbox(client, options?): Promise<Page<{
[key: string]: unknown;
is_group?: boolean;
items?: object[];
last_activity_at?: string;
last_permanent_item?: {
[key: string]: unknown;
item_id?: string;
item_type?: string;
text?: string;
timestamp?: string;
user_id?: string;
};
thread_id?: string;
thread_title?: string;
users?: object[];
}>>;One page of the direct inbox (threads). Pass cursor to continue.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
options? | CursorOptions |
Returns
Promise<Page<{ [key: string]: unknown; is_group?: boolean; items?: object[]; last_activity_at?: string; last_permanent_item?: { [key: string]: unknown; item_id?: string; item_type?: string; text?: string; timestamp?: string; user_id?: string; }; thread_id?: string; thread_title?: string; users?: object[]; }>>