bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Interface iNotificationPreferences<T>

    Details about the user's push notification preferences.

    interface iNotificationPreferences<T extends NumberType> {
        discord?: {
            discriminator: undefined | string;
            id: string;
            token: string;
            username: string;
        };
        email?: string;
        emailVerification?: iEmailVerificationStatus<T>;
        preferences?: {
            claimActivity?: boolean;
            ignoreIfInitiator?: boolean;
            transferActivity?: boolean;
        };
    }

    Type Parameters

    Implemented by

    Index

    Properties

    discord?: {
        discriminator: undefined | string;
        id: string;
        token: string;
        username: string;
    }

    The Discord ID to receive push notifications.

    email?: string

    The email to receive push notifications.

    emailVerification?: iEmailVerificationStatus<T>

    The verification status of the email.

    preferences?: {
        claimActivity?: boolean;
        ignoreIfInitiator?: boolean;
        transferActivity?: boolean;
    }

    The preferences for the notifications. What type of notifications does the user want to receive?