Skip to Content

openInboxItem

openInboxItem(item: Pick<InboxItem, "id" | "sealed">, keyPair: CryptoKeyPair): Promise<InboxPlaintext>

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

Decrypt a sealed inbox item with the account’s ECDH key pair.

Parameters

ParameterType

item

Pick<InboxItem, "id" | "sealed">

keyPair

CryptoKeyPair

Returns

Promise<InboxPlaintext>

Last updated on