Meta has agreed to pay 25 million dollars (£20 million) to settle a lawsuit filed by US President Donald Trump against the company after it suspended his accounts following the January 6 2021 attack on the Capitol, according to three people familiar with the matter.