YouTube has agreed to pay $22 million to settle a lawsuit filed by US President Donald Trump following the suspension…