Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#createDM

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.createDM
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Create a new DM channel with a user. Returns a DM channel object.

Parameters

payload: { recipient_id: string; }