createDm

abstract fun createDm(id: Long): CompletableDeferred<DmChannel>(source)

Creates a direct message channel with this user.

Return

a future containing the direct message channel.

Parameters

id

the id of the user.