Skip to content
SinisterRectus edited this page Sep 25, 2017 · 22 revisions

extends TextChannel

Represents a private Discord text channel used to track correspondences between the current user and one other recipient.

Methods

boolean close()

Closes the channel. This does not delete the channel. To re-open the channel, use User:getPrivateChannel.

Properties

string name

Equivalent to PrivateChannel.recipient.username.

User recipient

The recipient of this channel's messages, other than the current user.

Clone this wiki locally