Interface PrivateChannel

    • Method Detail

      • close

        @Nonnull
        @CheckReturnValue
        RestAction<Void> close()
        Closes a PrivateChannel. After being closed successfully the PrivateChannel is removed from the JDA mapping.
        As a note, this does not remove the history of the PrivateChannel. If the channel is reopened the history will still be present.
        Returns:
        RestAction - Type: Void