public class PrivateChannelCreateEvent extends ChannelEvent
PrivateChannel
is created.
This event is dispatched by Discord.
Constructor and Description |
---|
PrivateChannelCreateEvent(DiscordClient client,
PrivateChannel channel) |
Modifier and Type | Method and Description |
---|---|
PrivateChannel |
getChannel()
Gets the
PrivateChannel that was created in this event. |
String |
toString() |
public PrivateChannelCreateEvent(DiscordClient client, PrivateChannel channel)
public PrivateChannel getChannel()
PrivateChannel
that was created in this event.PrivateChannel
that was created.