She went to Maryland to address the Baltimore Youth Summit on Opioid Awareness, appearing on behalf of her "Be Best" youth campaign, which includes a focus on the US epidemic of often deadly opioid use.
The White House forwarded a request for comment to the first lady's office, which did not immediately reply.
Mrs. Trump was loudly booed by an audience of mostly middle school and high school students after she was introduced at the University of Maryland in Baltimore and the boos continued as she thanked her host for the "warm" introduction.
BALTIMORE (AP) - Melania Trump on Tuesday urged students at a youth summit to avoid misusing drugs, saying that would make it harder for them to achieve.
The pool report also mentioned that her speech lasted about five minutes and that "she was booed again as she completed her remarks and left the stage".
"We live in a democracy and everyone is entitled to their opinion, but the fact is we have a serious crisis in our country and I remain committed to educating children on the dangers and deadly consequences of drug abuse", she said in a rare personal statement issued hours later. "I encourage you to use the resources available in your community so that nothing can stand in your way".
She urged anyone now grappling with addiction to ask someone for help.
Her husband, President Donald Trump, has had a hard relationship with Baltimore.
Trump refused to cooperate with the congressional inquiries.
Melania was speaking at the B'MORE Youth Summit on Opioid Awareness, sponsored by the Drug Enforcement Agency.