President Trump seemed to issue a warning to one of the Republican senators who has opposed the ObamaCare replacement plan. 

At a lunch with a group of GOP senators, Trump was seated next to Sen. Dean Heller (R-NV), who announced late last month he would not support the Senate bill. 

'This Is Historic': Krauthammer Calls GOP Health Care Effort 'An Epic Fail'

McCain: No 'Participation Trophies' for GOP After Health Care Failure

In his remarks, Trump demanded the Republican senators remain in Washington for the August recess until a bill is passed. He said lawmakers are "so close" on an agreement.

At one point, he turned to Heller as he discussed his surprise at those who came out against the legislation. 

"Look, he wants to remain a senator, doesn't he?" Trump asked, adding the people of Nevada will "appreciate" if Heller supports the bill.

Some on social media viewed the remark, which drew laughs, as a not-so-subtle threat to Heller, who's facing re-election in 2018 in a state won by Hillary Clinton. 

Sen. Ted Cruz (R-TX) was asked about the comment after the meeting, but would only say "the president has his own way of communicating."

Heller has been joined in Nevada by Republican Gov. Brian Sandoval, who also opposed the GOP bill to replace ObamaCare.

Sandoval said the expansion of Medicaid under ObamaCare was "a winner for the people of our state," and that he would oppose efforts to rein in the program.

Watch the clip above.

Slap in the Face? Dem Senator Wants $500M for Wounded Ukrainian Soldiers

'Rehab Doesn't Work for Terrorists!': Peters Blasts Sentence for ISIS Supporter

Lewandowski Blasts Reports on 2nd Trump-Putin Meeting: 'Nothing Secretive About It'