CallableChannel, java.util.Formattable, IFakeable, ISnowflake, MessageChannelpublic 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, startCallgetCreationTime, getId, getIdLongaddReactionById, 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, unpinMessageByIdUser 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