@wppconnect-team/wppconnect - v1.38.0
    Preparing search index...

    Function getABPropName

    • Get the human-readable name of an A/B config from its code

      Parameters

      • configCode: string

        The numeric config code

      Returns string

      The human-readable config name or null if not found

      // Get name from config code
      const name = WPP.conn.getABPropName('12345');
      console.log('Config name:', name);