For linear stochastic time-varying state space models with Gaussian noises, this paper investigates state estimation for the scenario where the input variables of the state equation are not fully observed but rather the input data is available only at an aggregate level. Unlike the existing filters for unknown inputs that are based on the approach of minimum-variance unbiased estimation, this paper does not impose the unbiasedness condition for state estimation; instead it incorporates a Bayesian approach to derive a modified Kalman filter by pooling the prior knowledge about the state vector at the aggregate level with the measurements on the output variables at the original level of interest. The estimated state vector is shown to be a minimum-mean-square-error estimator. The developed filter provides a unified approach to state estimation: it includes the existing filters obtained under two extreme scenarios as its special cases, i.e., the classical Kalman filter where all the inputs are observed and the filter for unknown inputs.