igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface MobileConfigParam<V>

    One parameter as the app reads it: its specifier, the key of the config its field lives in (the build's params map names the config by index; the answer by this key) and the app's built-in default.

    int64 values are JavaScript numbers: no answer the Simulator has met carries one outside the safe-integer range (the largest is 1253480966013273), and an answer that does is refused when it is stored rather than rounded.

    interface MobileConfigParam<V extends MobileConfigValue = MobileConfigValue> {
        config: number;
        default: V;
        isValue: (value: MobileConfigValue) => value is V;
        specifier: bigint;
        type: MobileConfigType;
    }

    Type Parameters

    Index

    Properties

    config: number

    The key of the parameter's config in the build's params map.

    default: V

    The app's built-in default, used when no answer sent a value.

    isValue: (value: MobileConfigValue) => value is V

    Whether a kept value is a value of this parameter's type.

    specifier: bigint

    The 64-bit specifier the app reads the parameter by.