Class SelfUpdateVerifiedEvent

  • All Implemented Interfaces:
    GenericEvent, UpdateEvent<SelfUser,​java.lang.Boolean>

    public class SelfUpdateVerifiedEvent
    extends GenericSelfUpdateEvent<java.lang.Boolean>
    Indicates that the verification state of the current user changed. (client-only)

    Can be used to retrieve the old verification state.

    Identifier: verified

    • Constructor Detail

      • SelfUpdateVerifiedEvent

        public SelfUpdateVerifiedEvent​(@Nonnull
                                       JDA api,
                                       long responseNumber,
                                       boolean wasVerified)
    • Method Detail

      • wasVerified

        public boolean wasVerified()
        Whether the account was verified
        Returns:
        True, if this account was previously verified