xmpp_p2p
Preparing search index...
core/xmpp-secure
sendEncryptedMessage
Function sendEncryptedMessage
sendEncryptedMessage
(
peerAddr
:
string
|
Multiaddr
,
body
:
string
,
ctx
:
XmppSecureContext
,
options
?:
{
chatState
?:
"paused"
|
"active"
|
"composing"
|
"inactive"
|
"gone"
;
delay
?:
{
from
?:
string
;
stamp
:
string
}
;
nick
?:
string
;
noCarbons
?:
boolean
;
replace
?:
string
;
reply
?:
{
id
:
string
;
to
?:
string
}
;
requestReceipt
?:
boolean
;
thread
?:
string
;
}
,
)
:
Promise
<
string
>
Parameters
peerAddr
:
string
|
Multiaddr
body
:
string
ctx
:
XmppSecureContext
options
:
{
chatState
?:
"paused"
|
"active"
|
"composing"
|
"inactive"
|
"gone"
;
delay
?:
{
from
?:
string
;
stamp
:
string
}
;
nick
?:
string
;
noCarbons
?:
boolean
;
replace
?:
string
;
reply
?:
{
id
:
string
;
to
?:
string
}
;
requestReceipt
?:
boolean
;
thread
?:
string
;
}
= {}
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
xmpp_p2p
Loading...