Main - chain structure forms, oxidation state and level of doping of copolymers of substituted anilines as a function of their chemical composition.