Prime Minister Modi also had a brief chat with many top world leaders, including US President Donald Trump, British Prime Minister Theresa May, German Chancellor Angela Merkel and French President Emmanuel Macron.
At the BRICS leaders' gathering in Hamburg, Prime Minister Modi held informal meetings with Brazilian President Michel Temer and South African President Jacob Zuma.
The Indian Prime Minister and Chinese President Xi Jinping also shook hands at the meet and had a conversation on a "range of issues". The interaction between Prime Minister Modi and Xi took place amidst bilateral tensions over the Sikkim standoff.
Prime Minister Modi last met Justin Trudeau on the sidelines of the Nuclear Security Summit in Washington in April 2016. The two leaders also spoke over phone to discuss the Paris Climate Agreement ahead of Prime Minister Modi's visit to the US last month.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.