As was reported … gunfire erupted when Tekashi’s crew was denied access to a restaurant where Tekashi was set to meet with West Coast music exec Elliot Grainge. Two of Elliot’s bodyguards turned Tekashi’s entire crew away, which went left when some of them stuck around and allegedly instigated a brawl … that ended with someone being shot.

Shotty was one of three of Tekashi’s people who got violent and allegedly struck the bodyguards with a chair. Eyewitnesses also told cops he uttered an ominous threat, allegedly saying … “I’m going to violate you both with gunshots.”

At some point, Elliot’s bodyguards saw someone in Tekashi’s camp reach for something in their waistband, which prompted him to fire his weapon.

An unidentified member of Tekashi’s crew was struck in the gut, and Shotty bolted from the scene while two other Tekashi-linked guys were arrested. Shottie’s attorney previously stated his client had no involvement in any crime, and promised the charges would be dropped.

Shotty has been charged with gang assault — which is a felony — and weapon possession for allegedly hitting a guy in the head with said chair.