Creates a new private channel (direct message) between the current user and one or more recipients. Returns the newly created channel object.
Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
Success
The unique identifier (snowflake) for this channel
The type of the channel
0 <= x <= 2147483647The name of the channel
The topic of the channel
The URL associated with the channel
The icon hash of the channel (for group DMs)
The ID of the owner of the channel (for group DMs)
0 <= x <= 2147483647The ID of the parent category for this channel
The bitrate of the voice channel in bits per second
0 <= x <= 2147483647The maximum number of users allowed in the voice channel
0 <= x <= 2147483647The voice region ID for the voice channel
The ID of the last message sent in this channel
The ISO 8601 timestamp of when the last pinned message was pinned
The permission overwrites for this channel
500The recipients of the DM channel
25Whether the channel is marked as NSFW
0 <= x <= 2147483647Custom nicknames for users in this channel (for group DMs)