ApiCoreFunctions
Function: sealDirect()
function sealDirect(
spaceId,
from,
to,
content,
memberKeys
): Promise<DirectBody>;Defined in: packages/core/src/privacy/direct.ts:51
Seals text for some members of a space and for its writer.
Parameters
| Parameter | Type | Description |
|---|---|---|
spaceId | string | - |
from | string | - |
to | readonly string[] | - |
content | DirectContent | - |
memberKeys | ReadonlyMap<string, string> | Each reader's member key (sys.memberkey), by account — the writer's too |
Returns
Promise<DirectBody>
Throws
When someone it is for has no member key here yet