President Trump won’t be meeting with the Golden State Warriors when they visit the nation’s capital for a game next year, but the NBA champions received a backup offer Tuesday when San Francisco Rep. Nancy Pelosi and Oakland Rep. Barbara Lee invited them to drop by Congress instead.

“With your third title in the last four years, the Golden State Warriors have once again dazzled America with your outstanding performance on the court and inspired leadership off the court. You continue to make the Bay Area and indeed the country deeply proud,” the Democratic congresswomen said in a letter to the team.

“In celebration of your victory, we would be delighted to welcome you publicly as a team or personally as families to the United States Capitol. Please consider this as a blanket invitation whenever your individual schedules allow.”

Pelosi and Lee extended a similar invitation last year after members of the Warriors enraged Trump by suggesting they weren’t interested in meeting him. He dis-invited them before the team could reject his invitation.

Last week, Trump told reporters that “we’re not going to invite either team” in the NBA finals — the Warriors or Cleveland Cavaliers — to the White House.

Trump’s non-invitation probably didn’t concern — or surprise — anyone on the Warriors. Even before the finals ended, the Cavaliers’ LeBron James and Stephen Curry of the Warriors said their teams weren’t interested in meeting with the president.

The team happily met with then-President Barack Obama in the White House after winning the title in 2015. The Warriors didn’t visit the White House or Congress after last year’s championship, opting instead to spend their off day in Washington, D.C., touring the National Museum of African American History and Culture with a few dozen local students.

John Wildermuth is a San Francisco Chronicle staff writer. Email: jwildermuth@sfchronicle.com Twitter: @jfwildermuth