WASHINGTON — The Afghan teenager didn’t say anything as she scrolled through three days’ worth of pictures on her phone, her finger swiping across the screen. Feet dangling over a Washington fountain. Posing with students from Iraq and Iran. A meal carefully laid out on an airplane tray.

But then the teenager, Kawsar Roshan, paused, tilting the screen to show a picture of a piece of United States government paperwork she received only Thursday.

“This is my visa,” the 15-year-old said with a broad smile. “It’s a memory.”

It took an international outcry and intervention from President Trump and other officials to allow her and five other girls from an Afghan robotics team to receive visas after two rejections, letting them travel to the United States for participation in First Global, an international robotics contest.

For three days in the Daughters of the American Revolution Constitution Hall, where an African-American woman was once denied the right to sing before an integrated audience in the 1930s, the Afghan girls in head scarves were stars on an international stage, with cameras, lights and whispers trailing them from practice to competition.