Documentation
Preparing search index...
@kehto/runtime
DmAdapter
Interface DmAdapter
DM adapter — send direct messages (NIP-17 gift-wrap).
interface
DmAdapter
{
sendDm
(
recipientPubkey
:
string
,
message
:
string
,
)
:
Promise
<
{
error
?:
string
;
eventId
?:
string
;
success
:
boolean
}
>
;
}
Index
Methods
send
Dm
Methods
send
Dm
sendDm
(
recipientPubkey
:
string
,
message
:
string
,
)
:
Promise
<
{
error
?:
string
;
eventId
?:
string
;
success
:
boolean
}
>
Parameters
recipientPubkey
:
string
message
:
string
Returns
Promise
<
{
error
?:
string
;
eventId
?:
string
;
success
:
boolean
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
send
Dm
Documentation
Loading...
DM adapter — send direct messages (NIP-17 gift-wrap).