Class PrivateChannelCreateEvent


  • public class PrivateChannelCreateEvent
    extends Event
    Indicates that a Private Channel was created.

    Can be used to retrieve the created private channel and its User.

    • Constructor Detail

      • PrivateChannelCreateEvent

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

      • getUser

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