Skip to Content

createVaultInbox

createVaultInbox(options: object): VaultInbox

Defined in: src/lib/chat/inbox.ts:75 

The vault inbox client, under the same /api/private-chats routes as the chat store.

Parameters

ParameterType

options

object

options.baseUrl

string

options.fetch?

{(input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | Request | URL, init?: RequestInit): Promise<Response>; }

options.getToken

() => Promise<string | null>

options.timeoutMs?

number

Returns

VaultInbox

Last updated on