Skip to content
Snippets Groups Projects
Commit 6501fd36 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix dm documentation'

parent a7d120aa
No related branches found
No related tags found
2 merge requests!109Project/haven beta,!100Xx 4601/haven invites
This commit is part of merge request !100. Comments created here will be created in the context of that merge request.
...@@ -539,6 +539,10 @@ func (dmc *DMClient) SendSilent(_ js.Value, args []js.Value) any { ...@@ -539,6 +539,10 @@ func (dmc *DMClient) SendSilent(_ js.Value, args []js.Value) any {
// unlimited). // unlimited).
// - args[7] - A JSON marshalled [xxdk.CMIXParams]. This may be empty, // - args[7] - A JSON marshalled [xxdk.CMIXParams]. This may be empty,
// and GetDefaultCMixParams will be used internally. // and GetDefaultCMixParams will be used internally.
//
// Returns a promise:
// - Resolves to the JSON of [bindings.ChannelSendReport] (Uint8Array).
// - Rejected with an error if sending fails.
func (dmc *DMClient) SendInvite(_ js.Value, args []js.Value) any { func (dmc *DMClient) SendInvite(_ js.Value, args []js.Value) any {
var ( var (
channelManagerId = args[0].Int() channelManagerId = args[0].Int()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment