UpdateEvent<User,java.lang.String>
public class UserUpdateAvatarEvent extends GenericUserUpdateEvent<java.lang.String>
User
changed.
Can be used to retrieve the User who changed their avatar and their previous Avatar ID/URL.
Identifier: avatar
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
UserUpdateAvatarEvent(JDA api,
long responseNumber,
User user,
java.lang.String oldAvatar) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getNewAvatarId() |
The new avatar id
|
java.lang.String |
getNewAvatarUrl() |
The url of the new avatar
|
java.lang.String |
getOldAvatarId() |
The previous avatar id
|
java.lang.String |
getOldAvatarUrl() |
The previous avatar url
|
getJDA, getResponseNumber
getUser
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER
public java.lang.String getOldAvatarId()
public java.lang.String getOldAvatarUrl()
public java.lang.String getNewAvatarId()
public java.lang.String getNewAvatarUrl()