public class TextChannelUpdateEvent extends ChannelEvent
TextChannel
is updated in a guild.
The old text channel may not be present if text channels are not stored.
Constructor and Description |
---|
TextChannelUpdateEvent(DiscordClient client,
TextChannel current,
TextChannel old) |
Modifier and Type | Method and Description |
---|---|
TextChannel |
getCurrent() |
Optional<TextChannel> |
getOld() |
String |
toString() |
public TextChannelUpdateEvent(DiscordClient client, TextChannel current, @Nullable TextChannel old)
public TextChannel getCurrent()
public Optional<TextChannel> getOld()