Function: useExternalSpaceInbox()
useExternalSpaceInbox(
__namedParameters
):object
Defined in: packages/hypergraph-react/src/hooks/useExternalSpaceInbox.ts:9
Hook for interacting with external space inboxes Provides limited capabilities for sending messages to other spaces' inboxes
Parameters
__namedParameters
inboxId
string
spaceId
string
Returns
object
authPolicy
authPolicy:
any
encryptionPublicKey
encryptionPublicKey:
any
error
error:
null
|Error
inboxId
inboxId:
string
isPublic
isPublic:
any
loading
loading:
boolean
sendMessage()
sendMessage: (
message
) =>Promise
<void
>
Parameters
message
string
Returns
Promise
<void
>