public class PrivateChannelCreateEvent extends Event
Private Channel
was created.
Can be used to retrieve the created private channel and its User
.
Constructor | Description |
---|---|
PrivateChannelCreateEvent(JDA api,
long responseNumber,
PrivateChannel channel) |
Modifier and Type | Method | Description |
---|---|---|
PrivateChannel |
getChannel() |
The
PrivateChannel |
User |
getUser() |
getJDA, getResponseNumber
public PrivateChannelCreateEvent(JDA api, long responseNumber, PrivateChannel channel)
public User getUser()
public PrivateChannel getChannel()
PrivateChannel