UpdateEvent<TextChannel,Category>public class TextChannelUpdateParentEvent extends GenericTextChannelUpdateEvent<Category>
TextChannel's parent changed.
Can be used to detect that the parent of a TextChannel changes.
Identifier: parent
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
IDENTIFIER |
| Constructor | Description |
|---|---|
TextChannelUpdateParentEvent(JDA api,
long responseNumber,
TextChannel channel,
Category oldParent) |
| Modifier and Type | Method | Description |
|---|---|---|
Category |
getNewParent() |
The new parent
Category |
Category |
getOldParent() |
The old parent
Category |
getJDA, getResponseNumbergetChannel, getGuildgetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER
public TextChannelUpdateParentEvent(JDA api, long responseNumber, TextChannel channel, Category oldParent)