Hello
The 28-year-old announced the news in a lengthy video on Instagram.
Canada's Ismael Kone had a tame spot-kick saved by goalkeeper Sergio Rochet and Alphonso Davies hit the crossbar.
Argentina soaked up some early pressure before Alvarez ghosted in between two defenders to open the scoring with a tidy finish in the 22nd minute.
Jacob Shaffelburg fired Canada into the lead in the 13th minute but Salomon Rondon equalised in the 64th, before Canada triumphed in the shootout to set up a last-four meeting with world champions Argentina.
The draw moved Copa America debutants Canada up to four points in Group A, five behind leaders Argentina, who had already qualified for the quarterfinals.
The temporary residents take the ‘flagpoling’ route to bypass the normal waiting period for a work or study permit when applied online.
Messi, Argentina's all-time leading goalscorer and most-capped player, moved ahead of former Chilean goalkeeper Sergio Livingstone, who set the record in 1953.
Defending champions Argentina beat Canada 2-0 in the opening match of the Copa America in Atlanta
Scaloni said his team must raise their game to win the title again, as facing CONCACAF teams was no easier than playing a European or South American sides.
India play Afghanistan in their first Super Eight Group One match on Thursday.