In this paper we present a broad-band study of the X-ray emission of the
blazar PKS1830-211 based on Chandra and Integral observations. Notwithstanding
the high redshift (z=2.507), it is a bright X-ray source (F(2-10 keV)~10^{-11}
erg cm^{-2} s^{-1}), due to gravitational lensing by an intervening galaxy at
z=0.89. Previous X-ray observations attribute the observed absorption at E<2
keV to the lensing galaxy. Our analysis, although not in contrast with this
hypothesis, suggests also the possibility of an intrinsic (ionized) absorption,
taking place at the front side of the jet. This scenario is also supported by
some evidence, in the same data, of a feature observed at 2.15 keV which can be
interpreted as a blueshifted iron line (v/c ~ 0.18). The SED of PKS1830-211 can
be well modelled by combining a Synchrotron Self-Compton component and an
external source of photons to be scattered up to \gamma-ray energies by
relativistic electrons moving outward in the jet. The main source of low energy
photons is a dust torus at the temperature of 10^3 K as expected in MeV
blazars.Comment: Accepted for publication in A&