Iranian actress Taraneh Alidoosti, star of the Oscar-nominated The Salesman, says she won't attend the Academy Awards in protest of U.S. President Donald Trump's immigration policies.

Alidoosti called plans for a temporary visa ban of Iranians "racist" in a message posted Thursday on Twitter.

Trump's visa ban for Iranians is racist. Whether this will include a cultural event or not,I won't attend the <a href="https://twitter.com/hashtag/AcademyAwards?src=hash">#AcademyAwards</a> 2017 in protest <a href="https://t.co/CW3EF6mupo">pic.twitter.com/CW3EF6mupo</a> —@t_alidoosti

The Salesman, directed by Asghar Farhadi, was on Tuesday nominated for best foreign language film. Farhadi won Iran's first-ever Oscar in 2012 for his acclaimed drama, A Separation.

A draft executive order obtained by The Associated Press showed that Trump intends to stop accepting Syrian refugees and suspend the United States' broader refugee program for 120 days.

The U.S. president also plans to suspend issuing visas for people from Iran, Iraq, Libya, Somalia, Sudan, Syria or Yemen for at least 30 days, according to the draft.