MOSCOW -- Russian President Vladimir Putin sent a congratulatory telegram to President Obama on what he termed “an ever so weighty victory gained with such a wide margin.”

“I know not from hearsay how exhaustive and intense the election campaign may be,” the Russian leader said in the telegram published on the Kremlin website Wednesday.

Putin stressed the results achieved in Russian-U.S. relations in recent years and expressed his hopes for continued joint constructive work. Cooperation is crucial for “stable and safe development in the world,” he wrote. Putin wished Obama further success and extended an invitation to visit Russia next year.

In his Twitter post, Prime Minister Dmitry Medvedev wrote “Congratulations,” addressing it to Obama.

Earlier in the day Medvedev, on a visit to Vietnam, hailed the results of the U.S. presidential poll, saying that he is “glad that the president of a very big and very influential country won’t be the man who considers Russia enemy No. 1,” the Interfax news agency reported. Medvedev was alluding to remarks by GOP candidate Mitt Romney, who called Russia the “No. 1 geopolitical foe” of the U.S.

“Obama is easy to understand and a predictable partner,” Medvedev said at his news conference in Hanoi. “Whether we like America or not, every Russian family depends on how the [U.S.] dollar is doing.”