UpdateEvent<SelfUser,java.lang.String>
public class SelfUpdateEmailEvent extends GenericSelfUpdateEvent<java.lang.String>
Can be used to retrieve the old email.
Identifier: email
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
SelfUpdateEmailEvent(JDA api,
long responseNumber,
java.lang.String oldEmail) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getNewEmail() |
The new email
|
java.lang.String |
getOldEmail() |
The old email
|
getJDA, getResponseNumber
getEntity, getNewValue, getOldValue, getPropertyIdentifier, getSelfUser, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER
public SelfUpdateEmailEvent(JDA api, long responseNumber, java.lang.String oldEmail)