A Twitter message believed to be from 27-year-old Bynes said her arresting officer sexually assaulted her when she was taken into custody Thursday night after building officials called police to complain she was rolling a joint and smoking pot in the lobby.
The tweet read in full, "Don't believe the reports about me being arrested. It's all lies. I was sexually harassed by one of the cops the night before last which is who then arrested me. He lied and said I threw a bong out the window when I opened the window for fresh air. Hilarious. He slapped my vagina. Sexual harassment. Big deal. I then called the cops on him. He handcuffed me, which I resisted, quite unlike any of the reports stated. Then I was sent to a mental hospital. Offensive. I kept asking for my lawyer but they wouldn't let me. The cops were creepy. The cop sexually harassed me, they found no pot on me or bong outside my window. That's why the judge let me go. Don't believe any reports."
NYPD spokesman Det. Brian Sessa told ABC News the police are conducting an investigation as protocol.
In court on Friday, Bynes complained of illegal entry to her apartment, but made no mention of the sexual assault allegations. She was charged with reckless endangerment, attempted tampering with evidence and unlawful possession of marijuana.
Bynes was released on her own recognizance because she was not considered to be a flight risk. She's due back in court July 9.
The Associated Press contributed to this report.