Sen. Dianne Feinstein (D-Calif.) waits to board an elevator after a vote on Jan. 31 on Capitol Hill. (Calla Kessler/The Washington Post)

An exchange between Sen. Dianne Feinstein (D-Calif.) and a group of schoolchildren petitioning her to advocate for the “Green New Deal” went viral, drawing criticism and prompting a response from the senator.

About 15 middle school and high school students in the San Francisco Bay area met with Feinstein on Friday, asking the six-term senator whether she would vote for the ambitious climate change proposal introduced this month by Rep. Alexandria Ocasio-Cortez (D-N.Y.) and Sen. Edward J. Markey (D-Mass.). An edited video of their meeting was shared on social media by the Sunrise Movement, a self-described “army of young people” striving to elect leadership that will address the urgent nature of climate change, according to its website. The group also posted an unedited version of the video on its Facebook page.

Feinstein, who sits on Senate subcommittees on Interior, Environment and related agencies, told the students that she doesn’t support the deal, mainly because there is “no way to pay for it.”

The Sunrise Movement, which the New York Times said has held protests and rallies this week aimed at Democrats who have not voiced support for the Green New Deal, said it found Feinstein’s tone toward the children to be callous.

“But we have come to a point where our Earth is dying, and it is literally a pricey and ambitious plan that is needed to deal with the magnitude of that issue,” a 16-year-old student replied. “So we’re asking you to vote 'yes’ on the resolution for the Green New Deal because —”

The senator interrupted, “That resolution will not pass the Senate, and you can take that back to whoever sent you here.” She added, “I’ve been in the Senate for a quarter of a century, and I know what can pass, and I know what can’t pass.”

To appeal to young people during her campaign for reelection last year, Feinstein more closely aligned herself with issues prominent among Democrats in the state — opposing the death penalty and defending California’s marijuana industry, The Washington Post’s Dave Weigel reported.

While discussing the Green New Deal with the students Friday, however, she noted that the plan lacks support from Republicans, who control the Senate. She also discussed her own climate change legislation, which she said rivals the Green New Deal and has a “much better chance of passing.” She offered to provide copies for each child and asked them to review it and let her know if they see issues.

The children responded by pointing to military funding and then argued for drastic action as some scientists estimate the world has just over 10 years to address climate change before its effects are irreversible.

“Any plan that doesn’t take bold, transformative action is not going to be what we need,” one young woman said.

“Well you know better than I do, so I think one day you should run for the Senate.” Feinstein responded. “Then you can do it your way.”

The senator also touted her years of experience, at one point noting that the children in the room were not old enough to vote for her.

“You know what’s interesting about this group is I’ve been doing this for 30 years. I know what I’m doing,” Feinstein said. “You come in here and say, ‘It has to be my way or the highway.’ I don’t respond to that.”

She did not say definitively which way she would vote on the deal, telling one student she could support the measure. “I may do that. We’ll see,” she said. “I don’t know.”

Republicans have attacked the Green New Deal, asserting that it reeks of socialism, as The Post’s Salvador Rizzo notes. In a tweet this month, President Trump likened the proposal to permanently eliminating “all Planes, Cars, Cows, Oil, Gas & the Military.” (The Post’s Fact Checker said this is untrue.)

Some Democrats have also expressed skepticism of the deal, which calls for 100 percent clean electricity and projects to reduce carbon emissions across the United States. The Post’s Dino Grandoni reported that “fault lines within the Democratic caucus were already visible” the day the bill was introduced, “with some members urging caution about setting vague and, at times, impossible-to-achieve goals to only fall short.”

The proposal has been endorsed, however, by several Democratic presidential candidates, including Sens. Kamala D. Harris (Calif.), Kirsten Gillibrand (N.Y.), Cory Booker (N.J.) and Elizabeth Warren (Mass.).

The abridged version of the video posted to Twitter on Friday by the Sunrise Movement quickly went viral, gaining nearly 6 million views by Saturday morning. The video underscored some of the more fiery remarks Feinstein made and was posted with the caption, “This is how @SenFeinstein reacted to children asking her to support the #GreenNewDeal resolution — with smugness + disrespect.”

“This is a fight for our generation’s survival. Her reaction is why young people desperately want new leadership in Congress,” the group wrote.

Young people around the world have been vocal in their desire to see concrete, tangible action in the fight against climate change. On Friday, hundreds of French students marched in Paris in protest, the Associated Press reports. A similar march took place in Brussels on Thursday.

The two videos have given rise to many interpretations of Feinstein’s interaction with the children. Some agreed with the Sunrise Movement’s claim that she was short and dismissive of the students. Others found the negative reaction to the her comments as unreasonable, especially after watching the full video.

Feinstein issued a response late Friday, writing in a tweet she and the group had a “spirited discussion” and that she’d listened to the children who lobbied in her office. Toward the end of the longer video, the senator is seen speaking with one of the students about a potential internship opportunity.

“Unfortunately, it was a brief meeting, but I want the children to know they were heard loud and clear,” Feinstein wrote. “I have been and remain committed to doing everything I can to enact real, meaningful climate change legislation.”