Class PrivateChannelDeleteEvent


  • public class PrivateChannelDeleteEvent
    extends Event
    Indicates that a Private Channel was deleted.

    Can be used to retrieve the issuing User.

    • Constructor Detail

      • PrivateChannelDeleteEvent

        public PrivateChannelDeleteEvent​(JDA api,
                                         long responseNumber,
                                         PrivateChannel channel)
    • Method Detail

      • getUser

        public User getUser()
        The target User
        Shortcut for getPrivateChannel().getUser()
        Returns:
        The User