User opt-in preferences for Insider communication channels.

Only provided fields will be updated. Omitted fields will NOT be changed.

interface InsiderUserOptins {
    email?: boolean;
    location?: boolean;
    push?: boolean;
    sms?: boolean;
    whatsapp?: boolean;
}

Properties

email?: boolean

Opt-in for email communications

location?: boolean

Opt-in for location tracking (auto-enabled when startGeofenceTracking is called)

push?: boolean

Opt-in for push notifications (auto-enabled on init and login by default)

sms?: boolean

Opt-in for SMS communications

whatsapp?: boolean

Opt-in for WhatsApp communications