diff --git a/wasm/dm.go b/wasm/dm.go index de38d638bea976823234b94eeec85e9b5d459697..7e51e5cb19c4f2650ad107a43f04877df77dba30 100644 --- a/wasm/dm.go +++ b/wasm/dm.go @@ -60,12 +60,13 @@ func newDMClientJS(api *bindings.DMClient) map[string]any { "GetShareURL": js.FuncOf(cm.GetShareURL), // DM Sending Methods and Reports - "SendText": js.FuncOf(cm.SendText), - "SendReply": js.FuncOf(cm.SendReply), - "SendReaction": js.FuncOf(cm.SendReaction), - "SendInvite": js.FuncOf(cm.SendInvite), - "SendSilent": js.FuncOf(cm.SendSilent), - "Send": js.FuncOf(cm.Send), + "SendText": js.FuncOf(cm.SendText), + "SendReply": js.FuncOf(cm.SendReply), + "SendReaction": js.FuncOf(cm.SendReaction), + "SendSilent": js.FuncOf(cm.SendSilent), + "SendInvite": js.FuncOf(cm.SendInvite), + "DeleteMessage": js.FuncOf(cm.DeleteMessage), + "Send": js.FuncOf(cm.Send), // Notifications "GetNotificationLevel": js.FuncOf(cm.GetNotificationLevel),