MOSCOW — An escort from Belarus who posted video online showing her on the yacht of one of Russia’s richest oligarchs along with a senior Russian official was released from detention in Moscow on Tuesday, her lawyer told the government news agency Tass.

The escort, Anastasia Vashukevich, who is the author of a book titled “Who Wants to Seduce a Billionaire” and also goes by the name Nastya Rybka, arrived in Moscow last Thursday after being deported from Thailand over her involvement in a sex-training seminar aimed at male Russian tourists, and was immediately arrested at the airport.

Her lawyer, Svetlana Sidorkina, told Tass that Ms. Vashukevich and Alexander Kirillov, a self-described Russian “sex guru” also known as Alex Leslie, who was also deported from Thailand and detained upon arrival in Moscow, remained suspects in a case involving “enticement to prostitution” but had been released on their own recognizance.

A video showing Ms. Vashukevich being manhandled by Russian police officers at Sheremetyevo Airport, which serves Moscow, stirred outrage among her followers on social media and those of Aleksei Navalny, a Russian anti-corruption campaigner who posted video footage of the yacht trip on his website last year.