CallableChannel
, java.util.Formattable
, IFakeable
, ISnowflake
, MessageChannel
public interface PrivateChannel extends MessageChannel, CallableChannel, IFakeable
Modifier and Type | Method | 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. |
getCurrentCall, startCall
getCreationTime, getId, getIdLong
addReactionById, addReactionById, addReactionById, addReactionById, deleteMessageById, deleteMessageById, editMessageById, editMessageById, editMessageById, editMessageById, editMessageById, editMessageById, editMessageFormatById, editMessageFormatById, formatTo, getHistory, getHistoryAfter, getHistoryAfter, getHistoryAfter, getHistoryAround, getHistoryAround, getHistoryAround, getHistoryBefore, getHistoryBefore, getHistoryBefore, getIterableHistory, getLatestMessageId, getLatestMessageIdLong, getMessageById, getMessageById, getName, getPinnedMessages, getType, hasLatestMessage, pinMessageById, pinMessageById, purgeMessages, purgeMessages, purgeMessagesById, purgeMessagesById, purgeMessagesById, removeReactionById, removeReactionById, removeReactionById, removeReactionById, sendFile, sendFile, sendFile, sendFile, sendFile, sendFile, sendFile, sendFile, sendMessage, sendMessage, sendMessage, sendMessageFormat, sendTyping, unpinMessageById, unpinMessageById
User getUser()
User
that this PrivateChannel
communicates with.User
.JDA getJDA()
JDA
instance of this PrivateChannelgetJDA
in interface MessageChannel
@CheckReturnValue RestAction<java.lang.Void> close()
RestAction
- Type: Void