UpdateEvent<SelfUser,java.lang.String>
public class SelfUpdateAvatarEvent extends GenericSelfUpdateEvent<java.lang.String>
Can be used to retrieve the old avatar.
Identifier: avatar
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
SelfUpdateAvatarEvent(JDA api,
long responseNumber,
java.lang.String oldAvatarId) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getNewAvatarId() |
The new avatar id
|
java.lang.String |
getNewAvatarUrl() |
The new avatar url
|
java.lang.String |
getOldAvatarId() |
The old avatar id
|
java.lang.String |
getOldAvatarUrl() |
The old avatar url
|
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 SelfUpdateAvatarEvent(JDA api, long responseNumber, java.lang.String oldAvatarId)
public java.lang.String getOldAvatarId()
public java.lang.String getOldAvatarUrl()
public java.lang.String getNewAvatarId()
public java.lang.String getNewAvatarUrl()