Skip to main content
A hook that allows you to create a new direct message (DM).

Imports

Definition

Source: useCreateDm

Parameters

config

  • Type: ActionConfig<Dms["createDM"]>
  • Optional
The action config.

Return Type

An object containing the createDM action and the rest of the action result.