public interface PrivateChannel extends MessageChannel, CallableChannel, IFakeable
Modifier and Type | Method and Description |
---|---|
RestAction<java.lang.Void> |
close()
Closes a PrivateChannel.
|
JDA |
getJDA()
Returns the
JDA instance of this PrivateChannel |
User |
getUser()
The
User that this PrivateChannel communicates with. |
deleteMessageById, getHistory, getHistoryAround, getHistoryAround, getMessageById, getName, getPinnedMessages, getType, pinMessageById, sendFile, sendFile, sendFile, sendFile, sendMessage, sendMessage, sendTyping, unpinMessageById
getCurrentCall, startCall
getCreationTime, getId
User getUser()
User
that this PrivateChannel
communicates with.User
.JDA getJDA()
JDA
instance of this PrivateChannelgetJDA
in interface MessageChannel
RestAction<java.lang.Void> close()
RestAction