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