minca
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

ParameterTypeDescription
spaceIdstring-
fromstring-
toreadonly string[]-
contentDirectContent-
memberKeysReadonlyMap<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

On this page