Appearance
@keymaster/connect / AppMsgSendParams
Interface: AppMsgSendParams
appmsg.send 请求参数。
Properties overview
| Property | Type | Required | Description |
|---|---|---|---|
recipientPublicKeyHex | string | Yes | — |
recipientOrigin? | string | No | 外部 app 形式的目标:exact origin(scheme + host + port)。 |
recipientAppId? | string | No | 内部插件 / 系统应用形式的目标:pluginEndpointId / appId。 |
contentType | AppMsgContentType | Yes | — |
body | string | Yes | — |
clientMessageId | string | Yes | — |
createdAtMs | number | Yes | — |
connectSessionId | string | Yes | 必填:当前 connectSessionId。 |
Extends
AppMsgSendInput
Properties
recipientPublicKeyHex
recipientPublicKeyHex:
string
Inherited from
AppMsgSendInput.recipientPublicKeyHex
recipientOrigin?
optionalrecipientOrigin?:string
外部 app 形式的目标:exact origin(scheme + host + port)。
Inherited from
AppMsgSendInput.recipientOrigin
recipientAppId?
optionalrecipientAppId?:string
内部插件 / 系统应用形式的目标:pluginEndpointId / appId。
Inherited from
AppMsgSendInput.recipientAppId
contentType
contentType:
AppMsgContentType
Inherited from
AppMsgSendInput.contentType
body
body:
string
Inherited from
AppMsgSendInput.body
clientMessageId
clientMessageId:
string
Inherited from
AppMsgSendInput.clientMessageId
createdAtMs
createdAtMs:
number
Inherited from
AppMsgSendInput.createdAtMs
connectSessionId
connectSessionId:
string
必填:当前 connectSessionId。