From the available signs; it is looking increasingly certain that both Cristiano Ronaldo and Lionel Messi would participate at the next world cup in Canada/Mexico/United States. Either they are fit to play, or fit for the bench sides; both iconic players will appear at the worldcup; i believe it will be their final international and football appearance.
The coming worldcup is one that will be super interesting and also epic. Theres so much to look forward to!
From what I've read there's nothing set in stone yet. Both players might retire before the next world cup as well, who knows.
Personally I would prefer Messi to retire and give this opportunity to the new generation of players.
I don't think Messi will just leave football... The World Cup is three years away, that's not much time... Although it would probably be nice for him to retire from football after his team won the cup last year... If Messi stays in the national team, it's not certain they can win in 2026... And this championship will definitely be his last... I can't assume anything about Ronaldo... He was going to leave a long time ago... But he still plays every time...