Class SelfUpdateAvatarEvent

All Implemented Interfaces:
GenericEvent, UpdateEvent<SelfUser,String>

public class SelfUpdateAvatarEvent extends GenericSelfUpdateEvent<String>
Indicates that the avatar of the current user changed.

Can be used to retrieve the old avatar.

Identifier: avatar

  • Field Details

  • Constructor Details

  • Method Details

    • getOldAvatarId

      @Nullable public String getOldAvatarId()
      The old avatar id
      Returns:
      The old avatar id
    • getOldAvatarUrl

      @Nullable public String getOldAvatarUrl()
      The old avatar url
      Returns:
      The old avatar url
    • getNewAvatarId

      @Nullable public String getNewAvatarId()
      The new avatar id
      Returns:
      The new avatar id
    • getNewAvatarUrl

      @Nullable public String getNewAvatarUrl()
      The new avatar url
      Returns:
      The new avatar url