Kinetic Theory of an Electron‐Photon Gas